Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
81 user(s) are online (68 user(s) are browsing Forums)

Members: 1
Guests: 80

xenic, more...
Support us!
Recent OS4 Files
OS4Depot.net





Workbench Arexx port - access the path of an icon
Just can't stay away
Joined:
2009/2/9 19:32
From Brussels Belgium
Posts: 1070
When you select an icon byname it can happen that you have 2 (or more) identically named icons.
To be sure you use the right one you need at least their paths.

How can you acces these from a script?

   Report Go to top

Re: Workbench Arexx port - access the path of an icon
Not too shy to talk
Joined:
2006/11/29 1:00
Posts: 427
This should give you the path to your selected icon:

options results
GETATTR WINDOWS.ACTIVE
return result

   Report Go to top

Re: Workbench Arexx port - access the path of an icon
Just can't stay away
Joined:
2009/2/9 19:32
From Brussels Belgium
Posts: 1070
@PEB
Thank you , but it must be more complicated , if possible?
from the wiki
Quote:
WINDOWS.ACTIVE
Name of the currently active Workbench window; this will be ' ' if none of Workbench's windows is currently active.

it is the path of a file whose icon has been "left-out" that i am after


/* Query name, position and size of the first icon * shown in the root window. */
GETATTR window.icons.all.0
NAME root
STEM root
 
SAY root
.name
SAY root
.left
SAY root
.top
SAY root
.width
SAY root
.height
SAY root
.type


i was expecting a
root.path here. I onder why it was ot implemented, since you get that path when opening the icon's "information" gui





Edited by JosDuchIt on 2017/9/6 18:25:28
Edited by JosDuchIt on 2017/9/6 18:26:16
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project