Doesn't my solution work?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

On Oct 29, 2009, at 1:45 AM, Sivakatirswami wrote:

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"  ??


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to