I'm on Windows...
Here is counter script: http://forums.livecode.com/viewtopic.php?f=7&t=24014
App pause while dragging window
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: App pause while dragging window
There are several versions there, but try this simple test in a button on a new stack:
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.
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 doTimerThis 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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
