WardXmodem Posted April 21, 2021 Report Share Posted April 21, 2021 I see macros posted which are the way they look in the macro editor, but I can't figure how to capture that look to my clipboard. I tried selecting and copying, and also all three options of file/export, none of them producing a readable macro. In desperation, I have screen-clipped a macro in the editor and OCRed it but that's a pain, and I'm sure others aren't doing that. Thanks! Quote Link to comment Share on other sites More sharing options...
Cory Posted April 21, 2021 Report Share Posted April 21, 2021 Highlight what you want, right click on the selection in the scripting editor and select "Copy command text". Quote Link to comment Share on other sites More sharing options...
Cory Posted April 21, 2021 Report Share Posted April 21, 2021 Oh, I often post two code boxes, one for the command text and one for the actual commands so others can easily copy and paste useful commands into their macro. But if it's more than a few lines, I recommend creating a demo macro that is as simple as possible to demonstrate your problem, export it to a MEX file and upload that file as a message attachment. Also things like variable definitions, scopes, activations and more are preserved which will not come across be copying the commands. The easier you make it for us, the more help you will receive. Quote Link to comment Share on other sites More sharing options...
acantor Posted April 21, 2021 Report Share Posted April 21, 2021 14 minutes ago, Cory said: Highlight what you want, right click on the selection in the scripting editor and select "Copy command text". Alternatively, after selecting the lines you want to copy: "Edit" menu --> "Copy Command Text". How about a window-specific macro for the Script Editor that selects the entire script and copies the command text to the clipboard? Text Type (Simulate Keystrokes): <CONTROL>a Text Type (Simulate Keystrokes): <ALT>e Text Type (Simulate Keystrokes): x Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.