Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't consistently make alias folder




Le 30 janv. 2008 à 19:19, Jim Skibbie a écrit :

Sorry, I may have confused the issue as I pasted in the result from the Event log...

The actual script code is:

make new alias file at folder appFolder to AIfold with properties {name:AI_ASName}

where the variables above are strings that are the paths to the two places and the last one is the name of the new alias folder.


I never met difficulties with this syntax:

make new alias at folder "string:path:to:destination:folder:" to ("string:path:to:the:folder:to:alias:" as alias) with properties {name:"mon_alias"}

"string:path:to:destination:folder:" may be replaced by a variable of class string
or
folder "string:path:to:destination:folder:" may be replaced by a variable of class alias.


"string:path:to:the:folder:to:alias:" may be replaced by a variable of class string
or
("string:path:to:the:folder:to:alias:" as alias) may be replaced by a variable of class alias.


Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Can't consistently make alias folder (From: Jim Skibbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.