Sounds like what I am after, sorry to be doofus but I am not able to get this to work. I have read what is in the manual (not much from what I could tell) and the three posts on this forum. Is there an example of a macro using this? I saw that I don't need to do the unlock and that it automatically happens when the Macro is completed. I gave the Semaphore Lock the same name as the macro, left the name the same but it doesn't seem to be working.
Update with correct file
Swap Cells Up and Down.kmmacros (60.2 KB)
Semaphore Lock
Wait and lock a semaphore to ensure exclusive access/execution.
Semaphore Unlock
Unlock a semaphore (happens automatically if macro terminates).