Page 2 of 2

Re: App pause while dragging window

Posted: Sat Apr 18, 2015 7:09 pm
by croivo
I'm on Windows...
Here is counter script: http://forums.livecode.com/viewtopic.php?f=7&t=24014

Re: App pause while dragging window

Posted: Sat Apr 18, 2015 7:29 pm
by jacque
There are several versions there, but try this simple test in a button on a new stack:

Code: Select all

on mouseUp
  doTimer
end mouseUp

on doTimer
  if the shiftkey is down then exit doTimer
  put the long time into fld 1
  send "doTimer" to me in 500 milliseconds
end doTimer
To stop the timer, just hold down the shift key for a moment.

This works fine on my Mac. If it fails for you on Windows then it's an OS restriction and there isn't much you can do about it. If the user drags the stack you can use the moveStack message, but other than that it is out of your control.