Talk about SyMenu or post suggestions, requests, or how-to questions
Feature Request - sequence the items at start/stop
Sir_X Posts: 31
14/06/2010
|
Hi Gianluca,
Could be possible to add a new parameter: the sequence/order number for the items (programs, commands, etc) that will be started when the SyMenu starts or closes, e.g.:
start thunderbid seq = 1st start firefox seq = 2nd .....
This will allow to put long/heavy starts (e.g. Thunderbird) at the beginnning or at the end of the SyMenu starts.
Many thanks as usual for your great tool.
Regards from Barcelona (Spain),
Sir_X
|
|
link
|
PoWi Posts: 90
16/06/2010
|
One problem I see is that if you start ALL programs in a sequence from a portable device there will be some performance problems depending on the speed of the usb port. Maybe use a sequence and wait till the app is ready and than start the next from the sequence.
|
|
link
|
Gianluca Administrator Posts: 1274
16/06/2010
|
Hello to all.
Even today SyMenu allows to specify a delay between the start of every program at startup. This interval could be set from 0 seconds (every program is started immediately) to 10 seconds. This solution could be a good workaround for you. Try different settings and write here your reports if you like.
Anyway I think that is possible to implement an ordering flag in startup but since it's a very hard work I'll firstly implement it only via direct editing of configuration file for expert users only ;-)
PoWi suggestion instead is not implementable because there is no way to monitoring an external program and being notified when it finished loading from disk. For example when Thunderbird process appears in task manager it doesn't mean that the program is completely loaded. I should monitor the activity on USB but I won't be sure that the last loading program is responsible for USB activity.
Gianluca
|
|
link
|
PoWi Posts: 90
16/06/2010
|
Gianluca wrote:
PoWi suggestion instead is not implementable because there is no way to monitoring an external program and being notified when it finished loading from disk. For example when Thunderbird process appears in task manager it doesn't mean that the program is completely loaded. I should monitor the activity on USB but I won't be sure that the last loading program is responsible for USB activity.
Gianluca
please look here . I know that's Autohotkey...But maybe you can get some ideas...
"...Unlike Run, RunWait will wait until Target is closed or exits, at which time ErrorLevel will be set to the program's exit code (as a signed 32-bit integer). Some programs will appear to return immediately even though they are still running; these programs spawn another process...."
----
Edit: My Firefox needs up to 15-20 seconds. My Thunderbird even more. <em>edited by PoWi on 6/16/2010</em>
|
|
link
|
Gianluca Administrator Posts: 1274
16/06/2010
|
Hello PoWi.
Thank you for you suggestion. It seems to me that Autohotkey uses RunWait to run something, enter in a wait mode and only when launched program is closed, following with other tasks. But it's not our need. We need something that launches a program, waits until program is completely loaded (not until it's closed) and then launches another program. My difficult is to understand when a program is completely loaded not when it is closed.
Regarding the delay you are right. Even in my system Firefox and Thunderbird startup is very slow. I could implement a more flexible delay from every program start (0 to 30 sec.).
Gianluca
|
|
link
|