• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
path to window opened by alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: get alias from ~/path
  • Next by Date: Re: PDF Services Workflow
  • Previous by thread: path to window opened by alias
  • Next by thread: myLoop: getting subject of messages in Mail.app
  • Index(es):
    • Date
    • Thread