Hold Macro?

Hi,

I hope someone more knowledgeable than me has an answer to this question. I'm trying to create a Macro that can hold command, option and shift (on mac) as long as the macro is pressed (in this case I'm using F1). So far I'm using the "Type Modiefiers" action with 'Press and Hold' engaged followed by a "Pause Until Conditions Are Met" action set to 'F1 is up'.

This works in the sense that it holds the macro as long as i exclusively hold down F1. Problem is I need to use this Macro while moving the mouse about. Long story short it's a shortcut to move audio around easily in Ableton Live. So as of now the shortcut is useless because moving the mouse breaks the macro. Is there anyway to get around this?

I've also tried an AppleScript I found:
tell application "System Events"
key down shift
key down option
key down command
end tell

That works as well but with some latency which means I constantly make editing mistakes in Ableton Live, and again it is basically useless.

Hope someone can guide me towards a solution

-Esben

Simulated events and real events do not generally mix.

So you can use Press and Hold Modifiers, and then wait until something, and the simulated modifiers will be held until the macro finishes (or you explicitly release them).

However if you type keys yourself, they will set the modifiers you type them.

If you move the mouse, I don't believe that will release them.

Is the underlying problem that it is difficult on your setup (or in your other circumstances) to hold the modifiers along with F1, using one hand? If so, I wonder whether you could change the shortcut to something more convenient, within Ableton Live. There appears to be a relevant discussion here.