Re: Aliases in paths not resolved....????
Re: Aliases in paths not resolved....????
- Subject: Re: Aliases in paths not resolved....????
- From: Ben Waldie (AppleScript Guru) <email@hidden>
- Date: Tue, 19 Nov 2002 08:07:13 -0500
Sam,
On Tuesday, November 19, 2002, at 05:22 AM, Sam Griffith wrote:
>
I have a script that creates a path to a folder.
>
>
set theAlias to (((path to "cusr") as string) & "MyDevelopment:My
>
Scripts:AppleScripts:scriptsCallingScripts:callme") as alias
>
>
The issue is that the "MyDevelopment" folder is actually a alias to the
>
folder on another disk.
>
How do I get this to resolve correctly, so that AppleScript sees my
>
file?
Give this a try...
set theAliasPath to (((path to "cusr") as string) & "MyDevelopment") as
string
tell application "Finder"
set thePath to ((original item of alias theAliasPath) as string)
end tell
set theAlias to (thePath &
"MyScripts:AppleScripts:scriptsCallingScripts:callme") as alias
Thanks,
- Ben
Benjamin S. Waldie
AppleScript Guru
http://www.applescriptguru.com
_______________________________________________
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.