Have a simple macro to paste in some text.
But each time, it pastes the text twice. Which is bad.
I am using this marco to open a specific nuke script:
Type the ⌘W Keystroke (close current script)
Type the ⌘O Keystroke (open new script)
Type the ⌘A Keystroke (select the existing path in the dialogue box)
Type the Delete Keystroke (delete it)
Insert Text ‘/Volumes/vault-01/vfx/collectible tracking/nuke/co…’ by Pasting (insert the full path an name of the script)
Type the Enter Keystroke (enter)
the result is that KM pastes the text twice and the open naturally fails.
I also don't see anything obviously wrong, but sometimes timing can be a problem. So, you might start by adding a Pause after each of the key actions:
This is probably excessive, but the first step is to get the macro working correctly. Then you can try reducing/eliminating some of the Pauses.
If your intent is to open a specified file, then this macro will get the job done, and is simpler and more robust:
<img src="/uploads/default/original/2X/a/ac9b96ac02fabbfeae5e11b9a477bf7021755dea.png" width="444" height="129">
If the file extension is not the default for your app, then you will need to change "Default Application" to your app.
Well here’s the thing. I had already tried placing long pauses when trying to debug. The step where I use cmd A works perfectly. I even used break points. When it gets to the paste step, the break point actually shows two paste steps even though there is only one.
Happy to record a screen cast. What’s the best way to share such a thing ?