• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

autohotkey script for pressing ctrl z inside illustrator

New Here ,
Sep 15, 2024 Sep 15, 2024

Copy link to clipboard

Copied

i want to write a script for pressing ctrl z key inside illustrator for redo the last action, 

the method i want is as follows:

executing the .ahk file inside  a .jsx script.

the purpose is automating illustartor and have the ability of press keys using a .jsx script

TOPICS
Performance , Scripting

Views

105

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Sep 16, 2024 Sep 16, 2024

Copy link to clipboard

Copied

Hi @ismail372100939q2m, I don't know the AHK way, but just wanted to check that you know a couple of built-in ExtendScript features:

 

1. app.undo() and app.redo();

 

2. app.executeMenuCommand(menuCommandString) – and here is a list of the command strings.

 

- Mark

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2024 Sep 16, 2024

Copy link to clipboard

Copied

LATEST

im a bit confused about what you want to do. you say that the jsx executes the ahk file.. but that means the script must already be running?

are you using the hotkey to trigger the script? or are you using the script to trigger the hotkey?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines