AppleScripting RunRev

Scott Rossi scott at tactilemedia.com
Mon Sep 22 10:16:08 EDT 2008


Recently, Dave wrote:

> Hi All,
> 
> I've written a Mac only Stack to make building Standalones Easier. I
> have the need to build many different applications using the same
> core stack files but with different UI elements. This works well,
> except when I come to Script Revolution. I can bring up the "Save as
> Standalone...: Choose Folder dialog and I can click "OK" (via System
> Events), however I'd like to be able to pre-select the folder in the
> Choose Folder dialog. If I could find the place in the IDE where it
> asks for the folder name, I could change it to pre-select the correct
> folder, but I can't seem to find the right IDE stack.

Is this what you mean?

 put specialFolderPath("desktop") into tPath
 ask file "Save stack as:" with tPath

Of course, you can use any filepath in tPath.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list