![]() ![]() When the script starts up, note if RUMlog is running and GUI Scripting is enabled. Property checkInterval : 3 - Number of seconds between checks. When this applet's told to quit, restore the previous GUI Scripting state before it does. On switchGUIScripting(onOff) - 'onOff' is 'true' for on, 'false' for off. Enable GUI Scripting if necessary and give the 'previousText' variable an initial value. Set AppWasOpen to (application process "App" exists) Set GUIScriptingWasEnabled to (UI elements enabled) SetAppWasOpen to (application process "App" exists) ![]() When the script starts up, note if App is running and GUI Scripting is enabled. ![]() Global AppWasOpen, GUIScriptingWasEnabled, previousText ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |