Deprecated: Use of MediaWiki\Parser\Parser::$mTemplatePath was deprecated in MediaWiki 1.42. [Called from MediaWiki\Extension\DynamicPageList3\Parse::parse in /home/httpd/vhosts/unix.fish/raysoft.ch/w/extensions/DynamicPageList3/includes/Parse.php at line 105] in /home/httpd/vhosts/unix.fish/raysoft.ch/w/includes/debug/MWDebug.php on line 372 Deprecated: Asking for a replica from groups except dump/vslow is deprecated: dpl [Called from Wikimedia\Rdbms\LoadBalancer::getConnectionInternal in /home/httpd/vhosts/unix.fish/raysoft.ch/w/includes/libs/rdbms/loadbalancer/LoadBalancer.php at line 805] in /home/httpd/vhosts/unix.fish/raysoft.ch/w/includes/debug/MWDebug.php on line 372 Deprecated: Caller from MediaWiki\Page\PageStore::getPageByNameViaLinkCache ignored an error originally raised from MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect - AppleScript: [1054] Unknown column 'ecl1.cl_to' in 'where clause' in /home/httpd/vhosts/unix.fish/raysoft.ch/w/includes/debug/MWDebug.php on line 372 Deprecated: Caller from MediaWiki\Page\PageStore::getPageByNameViaLinkCache ignored an error originally raised from MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect - AppleScript: [1054] Unknown column 'cl1.cl_to' in 'on clause' in /home/httpd/vhosts/unix.fish/raysoft.ch/w/includes/debug/MWDebug.php on line 372 AppleScript - RaySoft Jump to content

AppleScript

From RaySoft

AppleScript is a scripting language that makes possible direct control of scriptable applications and of many parts of the Mac OS. A scriptable application is one that makes its operations and data available in response to AppleScript messages, called Apple events.[1]

With scriptable applications, users can write scripts to automate operations, while developers can use AppleScript as an aid to rapid prototyping and automated testing. Developers can also use technologies including Apple events, AppleScript, Automator, and Scripting Bridge, to take advantage of services provided by other applications and by the Mac OS.[1]

Documentation

Components

Extension:DynamicPageList3 (DPL3), version 3.6.4: Error: Error 1054: Unknown column 'ecl1.cl_to' in 'where clause' Function: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect - AppleScript Query: SET STATEMENT max_statement_time=10 FOR SELECT DISTINCT IFNULL(cl1.cl_sortkey, REPLACE(CONCAT(CASE `wp_page`.page_namespace WHEN 1 THEN 'Talk:' WHEN 2 THEN 'User:' WHEN 3 THEN 'User_talk:' WHEN 4 THEN 'RaySoft:' WHEN 5 THEN 'RaySoft_talk:' WHEN 6 THEN 'File:' WHEN 7 THEN 'File_talk:' WHEN 8 THEN 'MediaWiki:' WHEN 9 THEN 'MediaWiki_talk:' WHEN 10 THEN 'Template:' WHEN 11 THEN 'Template_talk:' WHEN 12 THEN 'Help:' WHEN 13 THEN 'Help_talk:' WHEN 14 THEN 'Category:' WHEN 15 THEN 'Category_talk:' END, `wp_page`.page_title), '_', ' ')) AS `sortkey`,`wp_page`.page_namespace AS `page_namespace`,`wp_page`.page_id AS `page_id`,`wp_page`.page_title AS `page_title` FROM `wp_page` `wp_page` JOIN `wp_categorylinks` `cl1` ON ((`wp_page`.page_id = cl1.cl_from AND cl1.cl_to = 'AppleScript')) JOIN `wp_categorylinks` `cl2` ON ((`wp_page`.page_id = cl2.cl_from AND cl2.cl_to = 'Component')) LEFT OUTER JOIN `wp_categorylinks` `ecl1` ON ((`wp_page`.page_id = ecl1.cl_from AND ecl1.cl_to ='Editor')) WHERE `wp_page`.page_is_redirect = 0 AND `wp_page`.page_namespace = 0 AND ecl1.cl_to IS NULL ORDER BY sortkey ASC LIMIT 500

Additional Resources

Extension:DynamicPageList3 (DPL3), version 3.6.4: Error: Error 1054: Unknown column 'ecl1.cl_to' in 'where clause' Function: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect - AppleScript Query: SET STATEMENT max_statement_time=10 FOR SELECT DISTINCT IFNULL(cl1.cl_sortkey, REPLACE(CONCAT(CASE `wp_page`.page_namespace WHEN 1 THEN 'Talk:' WHEN 2 THEN 'User:' WHEN 3 THEN 'User_talk:' WHEN 4 THEN 'RaySoft:' WHEN 5 THEN 'RaySoft_talk:' WHEN 6 THEN 'File:' WHEN 7 THEN 'File_talk:' WHEN 8 THEN 'MediaWiki:' WHEN 9 THEN 'MediaWiki_talk:' WHEN 10 THEN 'Template:' WHEN 11 THEN 'Template_talk:' WHEN 12 THEN 'Help:' WHEN 13 THEN 'Help_talk:' WHEN 14 THEN 'Category:' WHEN 15 THEN 'Category_talk:' END, `wp_page`.page_title), '_', ' ')) AS `sortkey`,`wp_page`.page_namespace AS `page_namespace`,`wp_page`.page_id AS `page_id`,`wp_page`.page_title AS `page_title` FROM `wp_page` `wp_page` JOIN `wp_categorylinks` `cl1` ON ((`wp_page`.page_id = cl1.cl_from AND cl1.cl_to = 'AppleScript')) JOIN `wp_categorylinks` `cl2` ON ((`wp_page`.page_id = cl2.cl_from AND (cl2.cl_to = 'Suite' OR cl2.cl_to = 'Server' OR cl2.cl_to = 'Application' OR cl2.cl_to = 'Shell_Command' OR cl2.cl_to = 'Add-on'))) LEFT OUTER JOIN `wp_categorylinks` `ecl1` ON ((`wp_page`.page_id = ecl1.cl_from AND ecl1.cl_to ='Component')) WHERE `wp_page`.page_is_redirect = 0 AND `wp_page`.page_namespace = 0 AND ecl1.cl_to IS NULL ORDER BY sortkey ASC LIMIT 500

Examples

Extension:DynamicPageList3 (DPL3), version 3.6.4: Error: Error 1054: Unknown column 'cl1.cl_to' in 'on clause' Function: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect - AppleScript Query: SET STATEMENT max_statement_time=10 FOR SELECT DISTINCT IFNULL(cl1.cl_sortkey, REPLACE(CONCAT(CASE `wp_page`.page_namespace WHEN 1 THEN 'Talk:' WHEN 2 THEN 'User:' WHEN 3 THEN 'User_talk:' WHEN 4 THEN 'RaySoft:' WHEN 5 THEN 'RaySoft_talk:' WHEN 6 THEN 'File:' WHEN 7 THEN 'File_talk:' WHEN 8 THEN 'MediaWiki:' WHEN 9 THEN 'MediaWiki_talk:' WHEN 10 THEN 'Template:' WHEN 11 THEN 'Template_talk:' WHEN 12 THEN 'Help:' WHEN 13 THEN 'Help_talk:' WHEN 14 THEN 'Category:' WHEN 15 THEN 'Category_talk:' END, `wp_page`.page_title), '_', ' ')) AS `sortkey`,`wp_page`.page_namespace AS `page_namespace`,`wp_page`.page_id AS `page_id`,`wp_page`.page_title AS `page_title` FROM `wp_page` `wp_page` JOIN `wp_categorylinks` `cl1` ON ((`wp_page`.page_id = cl1.cl_from AND cl1.cl_to = 'AppleScript')) JOIN `wp_categorylinks` `cl2` ON ((`wp_page`.page_id = cl2.cl_from AND cl2.cl_to = 'Script')) WHERE `wp_page`.page_is_redirect = 0 AND `wp_page`.page_namespace = 0 ORDER BY sortkey ASC LIMIT 500

Hints

Break long lines

AppleScript allows to break long lines using the NOT SIGN (¬)[2] character.

make new to recipient at end of to recipients ¬
  with properties {name:theRecipientName, address:theRecipientAddress}
Show a macOS notification
display notification "Timestamp: 2020-02-02 02:02:02 UTC" ¬
  with title "Backup" subtitle "Process has finished!"

References

  1. 1.0 1.1 Apple employers. "Introduction to AppleScript Overview." Apple. https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptX/AppleScriptX.html (accessed 21.05.2025)
  2. Project contributors. "Unicode Character 'NOT SIGN' (U+00AC)." FileFormat.Info project. https://www.fileformat.info/info/unicode/char/ac/index.htm (accessed 21.05.2025)