Re: How to prevent Classic from starting?
Re: How to prevent Classic from starting?
- Subject: Re: How to prevent Classic from starting?
- From: Graff <email@hidden>
- Date: Thu, 18 Dec 2003 01:41:45 -0500
Here's how to get it to work for any boot volume:
----------
set theApp to ((path to library folder from system domain) as text) &
"ScriptingAdditions:Keychain Scripting.app"
tell application theApp
-- do stuff here
end tell
----------
I believe that should do it.
- Ken
On Dec 18, 2003, at 12:05 AM, Jeffrey Mattox wrote:
At 7:59 PM -0800 12/17/03, Paul Berkowitz wrote:
On 12/17/03 7:34 PM, "Jeffrey Mattox" <email@hidden> wrote:
Sometimes my script attempts to start Classic. I've narrowed it
down to:
tell application "Keychain Scripting"
How do I force this to remain in OS X?
I've tried tell application "Keychain Scripting.app" -- want OS X
but the compiler changes it back to "Keychain Scripting".
I suppose I could delete all of my OS 9 files, but my users might
not
want to do that. :-)
Use the full path to the OS X Keychain Scripting application file in
the
'tell' command.
The fact that these shenanigans are required is one of the annoying
things about AppleScript. Things that work for months suddenly fail.
(does AS = Annoying Shenanigans?)
This works on my system:
tell application "Macintosh
HD:System:Library:ScriptingAdditions:Keychain Scripting.app:"
But I won't know the name of the startup disk. I've tried every form
I can think of using "of startup disk" without success. I'm stuck.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.