Skip to content

levigroker/ToggleRestoreWindows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Toggle Restore Windows
https://github.com/levigroker/ToggleRestoreWindows

A manually activated AppleScript to toggle the state of the current
application's application window saving behavior in Mac OS X, Lion.
By Levi Brown <mailto:levi@grokers.net>
Version 1.0 August 24, 2011

The intention is for this script to be accessed from the Script Menu and
acts on the currently active application. Running the script will toggle
the current window restore state and display a message telling the user
what has happened.  For more information about the Script Menu please
visit: http://www.apple.com/applescript/scriptmenu/

* This script has only been tested on Mac OS X 10.7.1 under US English
and may contain i18n issues which are not accounted for.

Props to:
http://blog.stuart.shelton.me/archives/839

Please feel free to contact me with improvements and feedback.

Release History:
1.0   August 24, 2011: Initial release.

Copyright (c) 2011 Levi Brown.
This work is licensed under the Creative Commons Attribution 3.0
Unported License. To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041,
USA.

1. DISCLAIMER OF WARRANTY.  ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS
AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT
THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

2. LIMITATION OF LIABILITY.  TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT
WILL THE AUTHOR OR THE AUTHOR'S LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT
OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR
RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF THE AUTHOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  In no event will the author's
liability to you, whether in contract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this Agreement. The
foregoing limitations will apply even if the above stated warranty fails of its
essential purpose. Some states do not allow the exclusion of incidental or
consequential damages, so some of the terms above may not be applicable to you.

About

A manually activated AppleScript to toggle the state of the current application's application window saving behavior in Mac OS X, Lion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published