Re: Original item in Finder
Re: Original item in Finder
- Subject: Re: Original item in Finder
- From: Emmanuel <email@hidden>
- Date: Tue, 30 Aug 2005 21:48:27 +0200
At 9:29 PM +0200 8/30/05, Jay Louvion wrote:
change "^.*:([^:]+):?$" into "\\1" in theOriginalPath
And how exactly would you integrate that into a script ?
--------- tested
tell application "Finder" to set folderalias to choose folder
set x to folderalias as text
set y to change "^(.*:)[^:]+:?$" into "\\1" in x with regexp
set theFolder to y as alias
---------
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden