1) Remove the definition at the top You shouldn't use global variables when you don't need to. If you're pulling from my old doubletap script I was declaring globals because I used them in other scripts that where not part of that script. There are better ways to handle it especially if you aren't working between scripts.…
I have issues with Doubletap script from this thread. Say I want to toggle Top/Bottom views, single tap does nothing macroscript Top_Bottom
Category:"_custom"
toolTip:"Top/Bottom Toggle"
( fn checklastClicked = ( local thisClicked = timeStamp() if lastClicked != undefined then ( if (thisClicked - lastClicked) < 500 do (…
Another question. Is it possible to toggle between actionMans? Something like this, but script doesn't work too (
global topbottom
if topbottom != true then (actionMan.executeAction 0 "40059" -- Views: Top View topbottom=true )
else (actionMan.executeAction 0 "40063" -- Views: Bottom View topbottom = false )
)