Hi Andreas!
I just realized that SetIconProperties() will change everything in an icon but not the way a defTool was launched...
I need to launche the DefaultTool from Shell instead as WB but dunno how...
Any way atm or have to wait next release?
Thank you!
EDIT: I also noticed that if I create an icon with my desired run mode If I "touch" it with SetIconProperties the run method was reverted automatically to Workbench...
SetIconProperties to change also way of run DefaultTool?
SetIconProperties to change also way of run DefaultTool?
Simone"Tuxedo"Monsignori, Perugia, ITALY.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: SetIconProperties to change also way of run DefaultTool?
No, this is currently not supported. But I could add it for a future version...
Re: SetIconProperties to change also way of run DefaultTool?
ok, thank you!
Simone"Tuxedo"Monsignori, Perugia, ITALY.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: SetIconProperties to change also way of run DefaultTool?
I've investigated into this and it seems that a little trick is used to configure the run mode. If you want the program to be run from Shell, the first two tooltypes must be set to
If you want the program to be run from Rexx, the first two tooltypes must be set to
In all other cases the program will be started from Workbench. Note that these tooltypes are special and won't be shown when you examine the icon from Workbench. Instead, the cycle gadget in the icon information dialog will be switched to the correct run mode.
Summing up, it's not necessary to add any additional functionality to Hollywood. You can just SetIconProperties() and set the tooltypes as described above.
Code: Select all
CLI
DONOTPROMPT
Code: Select all
REXX
DONOTPROMPT
Summing up, it's not necessary to add any additional functionality to Hollywood. You can just SetIconProperties() and set the tooltypes as described above.
Re: SetIconProperties to change also way of run DefaultTool?
Great!
Thank you!
I imagine that the "DONOTPROMPT" Tooltype can be setted also.on "POMPT" if you like to ask arguments on cli/rexx Cmq run...I'll try...
Keep up good.work!
Thank you!
I imagine that the "DONOTPROMPT" Tooltype can be setted also.on "POMPT" if you like to ask arguments on cli/rexx Cmq run...I'll try...
Keep up good.work!
Simone"Tuxedo"Monsignori, Perugia, ITALY.