Re: My own productivity app

2016-11-30 Thread Mark Schonewille
Hi Terry, It used to be possible to get the front-most app with AppleScript. Due to sandboxing, this may no longer apply, but perhaps signing the app (or turning off Gate Keeper) will allow this again? Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch

Re: My own productivity app

2016-11-30 Thread Terry Vogelaar
Thank you, Jacqueline and Mike, for your responses. Jacqueline wrote that LC provides no feedback when it isn't the frontmost app. But is there a way to use MacOS's Notification Center from within LiveCode to tell me things like that? Mike's solution using a timed loop seems to do the trick

Re: My own productivity app

2016-11-29 Thread Mike Bonner
The only way I know of to monitor keystrokes/mouse events is with a loop. Check to see if keysdown() is empty, and "if the mouse is down." Certain things won't trigger the mouse is down such as grabbing a title bar and dragging it around (on windows) but most other clicks will work fine. For a

Re: My own productivity app

2016-11-29 Thread J. Landman Gay
On 11/28/16 9:29 PM, Terry Vogelaar wrote: All of them help users to have productive time and leisure time. But if I would run all three, there would be no agreement between them when I should have my break. The latter app made me realise I could create my own. Any programmer could make that.

My own productivity app

2016-11-28 Thread Terry Vogelaar
I want to write my own productivity app in LiveCode. Aren’t there enough? Maybe, but I haven’t found what I’m looking for. Here’s what I have. I use MacBreakZ (http://www.publicspace.net/MacBreakZ/ <http://www.publicspace.net/MacBreakZ/>) to prevent RSI. It lets me take breaks when I’m