User Tools

Site Tools


Scripting_the_Keyboard_Maestro_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
Scripting_the_Keyboard_Maestro_editor [2017/09/20 16:41]
JMichaelTX [1. Get Current Macro Object] Revise script
Scripting_the_Keyboard_Maestro_editor [2017/09/20 16:46]
JMichaelTX [1. Get Current Macro Object] Update script
Line 17: Line 17:
   ​   ​
   if ((count of macroList) = 1) then   if ((count of macroList) = 1) then
-    set oMacro to first macro whose selected is true+    set oMacro to item 1 of macroList
   else   else
     error "​Multiple Macros are selected. ​ Select only ONE and re-execute this script."​     error "​Multiple Macros are selected. ​ Select only ONE and re-execute this script."​
Scripting_the_Keyboard_Maestro_editor.txt ยท Last modified: 2018/04/14 19:02 by JMichaelTX