Re: Can't consistently make alias folder
Re: Can't consistently make alias folder
- Subject: Re: Can't consistently make alias folder
- From: has <email@hidden>
- Date: Wed, 30 Jan 2008 17:17:17 +0000
On 30 Jan 2008, at 16:25, Jim Skibbie wrote:
Wondering if someone can help with this...
I’m making an alias to a folder of scripts at the user’s root level.
Most of the time this script works, but sometimes I get an error
that says “Can’t make class <<alia>> error.
The line that is erroring is inside a Finder tell block that says:
make new alias file at folder (alias "Macintosh
HD:Users:jim:Library:Scripts:Applications:") to "Macintosh HD:Jim
Scripts:Script Menu:Illustrator:" with properties {name:"Adobe
Illustrator 10"}
Your 'to' parameter should be a Finder reference or AppleScript alias
value, not a string. Not that you should really be dumping scripts
at / anyway; use ~/Library/Scripts for per-user scripts and /Library/
Scripts for system-wide ones with permissions set appropriately, and
they should all show up in the Script menu automatically.
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden