Re: Simple question
Re: Simple question
- Subject: Re: Simple question
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 24 Jan 2003 08:51:31 -0800
On 1/24/03 7:35 AM, "email@hidden" <email@hidden>
wrote:
>
Grant-
>
>
There are shorter ways to do this, but this is an easy way to see it...
>
>
-- BEGIN: Open file chosen by user
>
tell application "Finder"
>
activate
>
set chosenfile to choose file
>
open chosenfile
>
end tell
>
-- END: Open file chosn by user
Why are you putting it in the Finder? And 'choose file' doesn't open the
file, it just chooses it for doing whatever you want to do with it next in
the script. The shorter way to do it, as others have already said, is simply
choose file
If you want to do something with it, presumably, then
set theFile to (choose file)
--
Paul Berkowitz
_______________________________________________
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.