Home > XModules >

Requirements

  • OS X 10.9 or later
    • Developed and test on macOS 10.14.6

Download

Version 1.4.2 -- 2020-02-29

Old Versions

Dependencies

GUIScriptingChecker

GUIScriptingChecker is an AppleScript library to check availability of "GUI Scripting". Also if "GUI Scripting" is not enabled, GUIScriptingChecker can guide a user to enable "GUI Scripting" with displaying proper messages.

The default status of "GUI Scripting" is OFF. Therefore availability of "GUI Scripting" should be confirmed at the beginning of the script and a proper guide should be provided if needed.

The GUIScriptingChecker can help to perform such boring routine task with minimum efforts.

use scripting additions
use GUIScriptingChecker : script "GUIScriptingChecker"

if not GUIScriptingChecker's do() then
return
end if

-- Scripts dpended on GUI Scripting --

display alert "GUI Scripting is enabled."

History

  • 1.4.2 -- 2020-02-29
    • Improve help.
  • 1.4.1 -- 2020-02-01
    • OpenHelpBook.scptd is used to display help book instead of HelpBook.osax.
    • OS X 10.9 or later is required.
  • 1.4 -- 2016-09-01
    • Added make handler.
    • Updated AppleScriptDoc and HelpBook.
      • Sample codes are contained in ths source code as parts of AppleScriptDoc.
      • Use AppleScript Libraries in sample codes instead of ModuleLoader.
  • 1.3 -- 2015-10-01
    • Added support of OS X 10.9.
  • 1.2.1 -- 2013-11-12
    • Improved implementation.
  • 1.2 -- 2010-03-27
    • Removed dependency on ShowHelpBook.
    • Added localize_messages().
  • 1.1 -- 2009-10-19
    • Can work on Mac OS X 10.6.
    • GUIScriptingChecker will try to enable "GUI Scripting" instead of opening "System Preferences".
  • 1.0 -- 2007.05.17
    • First Release