path to window opened by alias
path to window opened by alias
- Subject: path to window opened by alias
- From: Matthew Galaher <email@hidden>
- Date: Fri, 28 Feb 2003 11:30:20 -0800
When I open a directory on a my network using an alias it seems there
are two paths to it. One if I choose Column View shows it as the
contents of the alias, as if the alias was a folder:
MacintoshHardDrive:Users:matthewgalaher:Documents:job_aliases:alias_name
The other, if I choose the directory "path" dropdown shows the actual
path to it on the network:
/Volumes/PRODUCTION/client/content/0072/comps/
Is there any way to control what path is returned? I use the following
bit of applescript but I am never sure which one will be returned.
tell application "Finder"
--get path to front finder window as string:
try
set winPath to target of front window as string
on error
set test to "full"
--display dialog "No front most Finder Window?" buttons "Cancel"
default button 1 with icon 2
end try
end tell
Thanks
_______________________________________________
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.