Hi All,

I have a Stack that attempts to automate the process of building a standalone application. This works well, I save the Standalone Settings in an SQLite database and set them when I want to build a particular application. However, I have one really grotty problem, I need to be able to control which folder the Standalone gets saved in.

If you do this manually via the Fie Menu Item, it pops up a Standard Get Folder dialog (which is VERY annoying anyway! Why the Folder to save the Standalone is not specified in the Standalone Settings Array along with all the other build information is beyond me??!!), I have some AppleScript that sends Keystrokes to RunRev to set the correct path, but this is VERY hit and miss and only works 1 in 3 times. I have been looking at the IDE code and it looks like the code that Saves a Standalone is protected so I can't edit the scripts. From looking at the code that is unprotected I have found the place where the Standalone Save code gets called:

send "revSaveAsStandalone" && quote & myStackShortName & quote to stack "revSaveAsStandalone"

I think it would have been a MUCH better idea to pass the Build Folder Path to the revSaveAsStandalone handler as a second parameter. I imagine the code could easily be changed as so:

on revSaveAsStandalone theStackName,theBuildFolderPathName

..................
..................

if (theBuildFolderPathName <> empty) and (there is a folder theBuildFolderPathName) then
put theBuildFolderPathName into it
else
answer folder "Choose a Folder to Build in."
end if

<<<<<Carry on as normal>>>>>

Do you think that I could get RunRev to do this change? If so how much do you think would be a reasonably price for such a modification?

All the Best
Dave


_______________________________________________
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