I would be really nice to have a single button to do the save, it's just 'fussy' to click 'file' and then 'save as standalone' every time I compile and copy to my device. (which I seem to do a lot)
Just me being lazy.
Thanks
Steve
Toolbar option For 'Save as Standalone'
Moderator: Klaus
Re: Toolbar option For 'Save as Standalone'
Write one.. THat is one of the best "features" of Rev, you can add whatever features you want..
Re: Toolbar option For 'Save as Standalone'
Steve,
Here's a script to get you started:
Mark
Here's a script to get you started:
Code: Select all
on mouseUp
save the topStack
put empty into gRevStackStatus[the short name of the topStack]
repeat for each line myStack in (the substacks of stack (the mainstack of the topStack))
put empty into gRevStackStatus[myStack]
end repeat
send "revSaveAsStandalone" && quote & the short name of the topStack & quote to stack "revSaveAsStandalone"
end mouseUp
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Toolbar option For 'Save as Standalone'
And you can set a functionKey or whatever to invoke the process.
One of the things that once bothered me was when copying a script from the script editor, all the styles were copied as well. This was generally rejected by the mail list server because of the excessive size of the file, even if the script was just a few lines. So I wrote a simple routine that created a plain text version of whatever was in the clipboard and put it in the library, called by a functionKey.
One of the things that once bothered me was when copying a script from the script editor, all the styles were copied as well. This was generally rejected by the mail list server because of the excessive size of the file, even if the script was just a few lines. So I wrote a simple routine that created a plain text version of whatever was in the clipboard and put it in the library, called by a functionKey.