OT -- AppleScript Help
Sivakatirswami
katir at hindu.org
Wed Oct 28 20:45:47 EDT 2009
Bruce Robertson wrote:
> It is best practice to eliminate tell statements where they are not
> required.
>
> Finder is not necessary for this command.
>
> choose folder
> set f to result
It does not affect anything: result is the same with or without "tell"
on a folder selection
alias "Varuna:Ekadanta Kulam:Database:EMBs:733:"
then an attempt
tell application "Finder"
open alias "Varuna:Ekadanta Kulam:Database:EMBs:733:"
end tell
fails: result: "missing value"
Oddly though, "reveal" works....
tell application "Finder"
reveal alias "Varuna:Ekadanta Kulam:Database:EMBs:733:"
end tell
why not "open" ??
More information about the use-livecode
mailing list