Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'new non auditable spin on this latest variant' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
new non auditable spin on this latest variant
Authored by: meancode on Dec 08, '01 10:26:16PM
thanks a lot. i put the script in the Dock and also in the Script Menu. it works 99% of the time. but occasionaly i have to force quit it. then re-run the script again and it works every time. also this latest version of the script will bring the finder to the foreground so you do not have to click the finder. dont know why as there is no difference to the tell command. i edited it a tad, took out the "say" here is my edited version.
tell application "Finder"
if (name of (every application process)) contains "Classic Support" then
activate
display dialog "Classic is running, want to quit it?" buttons {"No", "Yes"} default button "No"
set the user_choice to the button returned of the result
if the user_choice is "Yes" then
tell application "Classic Support" to quit
end if
else
activate
display dialog "Classic is not running want to launch it?" buttons {"No", "Yes"} default button "No"
set the user_choice to the button returned of the result
if the user_choice is "Yes" then
tell application "Classic Support" to launch
end if
end if
end tell
it works great! thanks to all that have contributed to making this script even better and more functional than the one rob originally posted. Ken Edwards ken@meancode.com

[ Reply to This | # ]
just added restart
Authored by: stift on Dec 09, '01 07:35:02AM
just modified the script with a restart option, if someone needs that just grab it here

[ Reply to This | # ]
just added restart
Authored by: RichB on Dec 09, '01 05:32:08PM

Saved As Run Only means I can't edit your choices. An application with out startup screen is enough.



[ Reply to This | # ]
just added restart
Authored by: ben on Mar 10, '02 11:13:56PM

Great!Thanks Ben



[ Reply to This | # ]