Starting from Proj Icon

3 posts / 0 new
Last post
tbreeden
tbreeden's picture
Offline
Last seen: 6 years 8 months ago
Joined: 2010-12-09 03:10
Starting from Proj Icon

Both Project Icons and Tool Icons have the "Start From" chooser that can be set to Workbench or Shell; I'm having a little trouble with their interaction.

My program is designed to work relatively transparently w/r/t the CLI Args and WB ToolTypes, and mostly it does.

This works ok when both Proj Icon and Tool Icon are both set to "Start From Workbench", or both to "Start From Shell", or if the Proj Icon is "Start From Shell" and the Tool Icon is "Start From Workbench".

But I've noticed that, if the Proj Icon is set to "Start From Workbench", and the program Tool Icon is set to "Start From Shell", and extra ToolType/Argument named "CLI" gets inserted in the arg/tooltypes stream.

I assume that WB is doing this to ensure a CLI Structure exists, but I can't find anything documented. Does anyone know?

Can I just ignore that? Does anyone know if there are others that WB might add that my arg/tooltype processing code should be aware of?

Thanks for info.

Tom

thomas
thomas's picture
Offline
Last seen: 3 months 1 week ago
Joined: 2011-05-16 14:23
The CLI tooltype is how

The CLI tooltype is how "start from Shell" is configured. There is no "start from" attribute in the icon structure.

The same is true for all these tooltypes:

  1. CLI Start from Shell
  2. REXX Start from ARexx
  3. DONOTPROMPT Do not prompt for input
  4. STARTPRI=0 (WBStartup) Start priority
  5. WAIT=5 (WBStartup) Wait until finished (seconds)
  6. DONOTWAIT (WBStartup) Do not wait until finished
tbreeden
tbreeden's picture
Offline
Last seen: 6 years 8 months ago
Joined: 2010-12-09 03:10
Got it. Thanks. Tom

Got it. Thanks.

Tom

Log in or register to post comments