Page 1 of 1

Toolbar option For 'Save as Standalone'

Posted: Mon Aug 08, 2011 7:41 am
by SteveHanlan
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

Re: Toolbar option For 'Save as Standalone'

Posted: Mon Aug 08, 2011 9:32 am
by shaosean
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'

Posted: Sun Aug 14, 2011 12:16 am
by Mark
Steve,

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
Mark

Re: Toolbar option For 'Save as Standalone'

Posted: Sun Aug 28, 2011 5:15 pm
by dunbarx
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.