View Full Version : WBStartup folder: order in wich are executed items dropped here?
dfreniche
11-06-2007, 07:40 AM
Subject says it nearly all.
I'm having trouble with one commodity, the one that sets the hotkeys (icon is a key with F1 on top on think). If it's in WBStartup folder, OS 3.9 menu doesn't start up. If I move it to WBStartup disabled, then the menu works.
I know how to change the loading order in S:System-Startup: just editing it and changing the order of text lines in the script.
But ¿what's executed first and last with icons dropped on a folder? ¿ASCII "ls -l" order?
Thanks!
AndrewBell
11-06-2007, 07:44 AM
There is a tooltype to determine the startup order, something like TOOLPRI=25, can't remember the precise details. Also, try the DONOTWAIT tooltype.
________
SILVERSURFER REVIEWS (http://vaporizers.net/silver-surfer-vaporizer)
dfreniche
11-06-2007, 07:56 AM
Thank! Maybe for another thread, but...
One link to every tooltype that exists? I'm tired of learning browsing in forums :-)
AndrewBell
11-06-2007, 08:19 AM
There are a few standard tooltypes that apply to all programs in WBStartup, such as DONOTWAIT and STARTPRI. Info on these should be in the Workbench manual (that came with 3.0/3.1), or the HTML docs on the 3.5/3.9 CD.
Some programs have their own tooltypes, check the docs for those programs.
Edit: Tooltype explanations from the OS3.9 online docs.
DONOTWAIT
Normally the Workbench waits for one program to finish before it opens the next. DONOTWAIT overrides this, which can cause unwanted requesters after booting. DONOTWAIT does not take an argument.
WAIT=<seconds>
Specifies how many seconds the Workbench should wait before opening the next icon in the WBStartup drawer.
STARTPRI=<priority>
Assigns a priority to an icon so that it opens before or after other icons. By default, all icons have a priority of 0. The acceptable range is from -128 to +127; the higher the value, the higher the program's priority.
________
YAMAHA MO SPECIFICATIONS (http://www.yamaha-tech.com/wiki/Yamaha_MO)
zipper
11-06-2007, 08:31 AM
There's Wbstartup+.lha in Aminet just for this purpose.
Yes, STARTPRI not TOOLPRI.
Setting TOOLPRI to some high value can have some nasty effects (in case the program busyloops at any moment).
AndrewBell
11-06-2007, 08:46 AM
zipper wrote:
There's Wbstartup+.lha in Aminet just for this purpose.
It's always good to have a way of simplifying a task, but it never hurts to actually understand what is happening.
________
Buy Grinder (http://www.vaporshop.com/grinders)
dfreniche
11-06-2007, 03:30 PM
Hey, thanks @all. A super-fast response! I haven't RTFM the OS 3.9 html docs. Sorry. Will fix that tomorrow.
By the way, it's awesome (to me) how easy it's to change the loading order. The info it's inside the icon, in a tooltype. Simple. Elegant. Easy to use. Try this with the startup menu of XP :-D
lurkist
11-06-2007, 04:22 PM
By the way, the commodity you mention (Fkey I think) may have problems being edited while in WBstartup. I had trouble with it, then tried editing it first, then dropping it in and it worked.
AmigaMance
11-06-2007, 04:24 PM
since you are running OS3.9 you will notice that the startpri has become a separate entry, outside of the tooltypes window.
WBStartup+ has nothing to offer, imho.
zipper
11-06-2007, 10:49 PM
WBStartup+ has nothing to offer, imho.
Don't remember exactly, but with the additional GUI I think it was just to drag and drop to change the order on a list.
Bamiga2002
11-07-2007, 12:42 AM
@AmigaMance
With WBStartup+ you CAN change the priority of the programs very easily. You can also select which programs start and which do not. Handy...
dfreniche
12-14-2007, 02:54 AM
Just want to thank you all!
Finally, no problems during startup using STARTPRI. And, yes, there's a separate entry for it in the icon info, so I tuned it and everything starts up smoothly now.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.