Copy link to clipboard
Copied
Hello,
My configuration : MacOS X + ID 6 + Mathmagic
In ID, I have a text document with LaTex expressions, between \[ and \] tags.
With a shortcut, I can convert these expressions in Mathmagic equation, one by one, when cursor is placed between tags.
I have more than 800 expressions to convert, so I'm looking for a scripting solution to batch convert.
I'd like to know if it is possible to write a script to process these actions on the document:
1. Find Latex expression between tags and place the cursor within (possibly by finding opening tag \[ and placing cursor after)
2. activate Mathmagic shortcut to convert the expression in Mathmagic equation
I tried to use Rorohiko Action Recorder, but I didn't managed to record actual "Find" action after recording "opening Find menu" action.
Any advice welcome
TIA
Nicolas
Copy link to clipboard
Copied
Hi Nicolas
Your task can be automated using applescript
. Since I dont have mathmagic in my computer I am not able to test right now. Try with applescript. Or mail me @ olvela.arul@gmail.com so that we can use teamviewer or something else to make it.
Thanks
Copy link to clipboard
Copied
Hello Nicolas,
It is not possible to script directly MathMagic with AppleScript or JavaScript because it does not support them.
Regards.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more