Filtering with more than 4 types (OSX) - AppleScript Question
Sarah Reichelt
sarahr at genesearch.com.au
Thu Jan 29 22:07:45 EST 2004
> Thanks, Sarah.
>
> The result of the "do tScript as Applescript" can be empty, but also
> "execution
> error" (if you click on the cancel button for instance).
> So, I believe the test :
> if tFile is empty then return empty -- no file chosen
>>
> should be
> if (tFile is empty) or (tFile is "execution error") then return empty
> -- no
> file chosen
>
> Regards,
> Jan
Thanks for the addition Jan, I hadn't actually tested that bit :-)
Sarah
More information about the use-livecode
mailing list