save all?

Richard Gaskin ambassador at fourthworld.com
Tue Jan 17 18:58:49 EST 2006


Peter T. Evensen wrote:
> My projects consist of multiple (main) stacks.  It would be nice if the 
> IDE had a "save all" option so I could save all the changes without 
> having to switch to each stack or quit revolution to see if I get "Save 
> changes?" dialog.  Does Rev have this?   Just wondering if I overlooked 
> something.

You can make a plugin for it easily enough:

on mouseUp
   repeat for each line tStack in the windows
    -- Exclude IDE stacks:
    if char 1 to 3 of tStack = "rev" then next repeat
    -- do the deed:
    save stack tStack
   end repeat
end mouseUp

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com



More information about the use-livecode mailing list