Opening folders from Rev

Scott Rossi scott at tactilemedia.com
Wed Oct 23 18:19:00 EDT 2002


Recently, "Mike Brown"  wrote:

> Well... I can now open folders from a Rev App on the Mac OS thanks to Ken
> Ray.
> 
> I thought I had a method for Windows using this method:
> 
> get shell("start " & MyFolderPath)
> 
> This works great from a Rev file but not from a Standalone (.exe).  For some
> reason when I convert my stack to a standalone, this script no longer opens
> my folder but launches another window with my standalone Application.  This
> can go on and on until the screen is full of multiple copies of my
> Standalone.
> 
> I suppose this is caused by the "start command passing through my
> executable??
> 
> Does anyone have an alternate command to the "Start" or an alternate method
> for opening folders in Windows OS from my Rev Standalone?

Sounds like you might be using a relative path to the folder, instead of an
absolute path.  If this is the case, try establishing an absolute path to
your folder ie "c:/program files/myfolder".

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list