Re: Works in Terminal, not as "do shell script"
Re: Works in Terminal, not as "do shell script"
- Subject: Re: Works in Terminal, not as "do shell script"
- From: Skeeve <email@hidden>
- Date: Mon, 05 Apr 2010 11:14:08 +0200
Mark J. Reed schrieb:
Always using full paths is good for security hut bad for portability -
So a good solution is to do something like this:
property exiftool : missing value
on run
if exiftool is missing value
ask_user_for_tools()
if exiftool is missing value then return
end if
-- program here
end run
to ask_user_for_tools()
-- some dialogs to get the missing information
end ask_user_for_tools
If the script is saved as a program (bundle) the properties are
maintained through each run so the user is usually asked only once.
_______________________________________________
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