This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run argv | |
(* | |
Toggle an application from full screen to non full screen (or the reverse). | |
Parameters: | |
1: application name(ie, Chrome) | |
2: boolean (true/false). | |
When true ensure that the application is in full screen mode (if not, make it so) | |
When false ensure that the application is NOT in full screen mode (if not, make it so) | |
*) | |
set theapp to item 1 of argv |