Hi Andre,

Klaus,

you can achieve the same result in Mac OS X with the following shell command:

cd /your/path/here; open .

It's cd to the folder you want and then execute "open .", open and a
space and a dot. This will open the folder in the finder.

thanks I know and use this and this one for windows:
## was = name of folder to open
...
   set the hideconsolewindows to true
    replace "/" with "\" in was
    get shell("explorer.exe /root," && was)
...

Using "launch document folder_name" is much easier :-)
An no need to check for the platform, too!

And yes, AppleScript IS cumbersome!
Imagine Apple would have chosen HyperTalk for the Mac system scripting language
as they actually had planned... Sigh :-)


But WAIT!!!
Just tested it again and this still works here for me on OS X 10.5.1 and Rev 2.9dp2!

Hmmmm. One would need to know if this is somewhat "officially" supported by Rev.


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


_______________________________________________
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