[Help] Run Illustrator actions directly from AHK(AutoHotKey) script
Hello,
I am trying to run Illustrator actions directly from AHK(AutoHotKey) script, just like the below but for Illustrator.
z::
if WinActive("ahk_class Photoshop")
{
psApp := ComObjActive("Photoshop.Application")
psApp.DoAction("action name", "action set name")
}
return
I tried multiple versions, like the following: but it didn't work
z::
if WinActive("ahk_class illustrator")
{
aiApp := ComObjActive("illustrator.Application")
aiApp.DoAction("action name", "action set name")
}
return
How can I adjust this command for Illustrator?
Thank you
