Re: shell script how to get current window path
Re: shell script how to get current window path
- Subject: Re: shell script how to get current window path
- From: "Quentin Arnault" <email@hidden>
- Date: Tue, 25 Nov 2008 18:43:50 +0100
Hi,
Thanks a lot, it works.
Best regards,
Quentin ARNAULT
As a result, something along these lines should be more effective:
on run
tell application "Finder" to get target of Finder window 1 as alias
set the_path to POSIX path of result
do shell script "cd " & quoted form of the_path & "; make"
end run
HTH,
Axel _______________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden