Search found 42 matches

by RobertC
Sat Mar 21, 2020 3:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script only Stacks
Replies: 22
Views: 2792

Re: Script only Stacks

Yes Thierry, that does it… Thanks very much for spotting that. Sorry for not having seen it! (I knew I'd done something terribly stupid). Strangely though: when reading it directly: start using stack "/Users/robertcailliau/Desktop/pms.txt" the first line (script "pms") is removed from the loaded sta...
by RobertC
Fri Mar 20, 2020 4:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script only Stacks
Replies: 22
Views: 2792

Re: Script only Stacks

Richard asks if the path is correct and the content. I'm not sure, but here is an archive (macOS) with the main stack and two files Archive.zip The main stack's button has this script: on mouseup if the optionkey is down then FromPath else ExplicitFromFile end if putmilliseconds end mouseup on FromP...
by RobertC
Thu Mar 19, 2020 10:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script only Stacks
Replies: 22
Views: 2792

Re: Script only Stacks

This is probably my ignorance, but when I try to use a script-only stack by start using stack "<path to file S>" I get execution error at line … (Chunk: cant find stack), char 1 Is opening a stack from a file a feature that is not in the community or Indy edition? I have Indy 9.5.1 Any thoughts?
by RobertC
Sun Feb 16, 2020 11:58 am
Forum: Mac OS
Topic: setting the focus with keyboard property on a field
Replies: 25
Views: 5801

Re: setting the focus with keyboard property on a field

I just had exactly mvillion's question. I'm appalled at the number of answers that simply do not address the very clearly stated question: how does one set the focus with keyboard from a script ? For example, dunbarx obviously can't read that, but he is not the only one. This sort of well-meaning, f...
by RobertC
Wed May 08, 2019 7:34 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: running in background
Replies: 25
Views: 2187

Re: running in background

Thanks for the suggestion TomBTG, but that was already done. There exists in fact an excellent gadget that does the required alarm functions, but the developers have not updated it for at least five years, the site seems dead and it will stop running when Apple abandons 32bit. Since we're on ergonom...
by RobertC
Tue May 07, 2019 3:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: running in background
Replies: 25
Views: 2187

Re: running in background

Agreed, leave it as example; good idea.

When the program is finished I'll post it here too then. Plus its documentation.
by RobertC
Tue May 07, 2019 7:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: running in background
Replies: 25
Views: 2187

Re: running in background

Hi Craig, Thanks. I think I made a stupid mistake: for testing I had somewhere …if the optionkey is up then send "…" to me in 1 second so that I could stop the clock by pressing option briefly. However, obviously if I hide the program by holding down the optionkey while clicking elsewhere, the sendi...
by RobertC
Mon May 06, 2019 7:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: running in background
Replies: 25
Views: 2187

running in background

Hi, I'm writing an "Alarm" program (desktop). It compares the current time with that of the next alarm and sounds an alarm when that time passes. This is done by sending a check message every second. So far so good. But problems start when the user is doing other things than staring at the alarm pro...
by RobertC
Mon Feb 25, 2019 8:25 am
Forum: Mac OS
Topic: virtual desktop - spaces
Replies: 22
Views: 4139

Re: virtual desktop - spaces

I wasn't referring to any plan to have the app try to set or enforce its own rule. I meant the user setting up the window rule, which would be a simple rule telling the window manager to always place the app on all desktops. The app isn't aware or doing any talking, it just takes orders from the wi...
by RobertC
Sun Feb 24, 2019 11:49 pm
Forum: Mac OS
Topic: virtual desktop - spaces
Replies: 22
Views: 4139

Re: virtual desktop - spaces

It appears that when you right+click an application's dock icon in MacOS you will see a contextual menu that allows you to assign the app to a specific desktop. You can also assign it to ALL desktops. This should do what you want, no? Yes, this is what I (he) wants for now, because it does solve th...
by RobertC
Sun Feb 24, 2019 4:39 pm
Forum: Mac OS
Topic: virtual desktop - spaces
Replies: 22
Views: 4139

Re: virtual desktop - spaces

Hi wsamples: From what I understand there is a kernel, which in the case of Linux and macOS should be very similar if not identical, but then above that there are things that vary widely (or should I say "wildly" ). The window manager is probably among them, since on macOS it is called WindowServer....
by RobertC
Sat Feb 23, 2019 8:27 pm
Forum: Mac OS
Topic: virtual desktop - spaces
Replies: 22
Views: 4139

Re: virtual desktop - spaces

I'll mess around with that a little too. This code works: global gRun on OpenStack put true into gRun show me RunIt end OpenStack command RunIt hide me set the topleft of me to 200,300 wait 20 ticks show me if gRun then send "RunIt" to me in 1 seconds end RunIt but obviously it's not really efficien...
by RobertC
Sat Feb 23, 2019 5:53 pm
Forum: Mac OS
Topic: virtual desktop - spaces
Replies: 22
Views: 4139

Re: virtual desktop - spaces

Sorry, yes, Linuxes also have them. And if Apple continues the way it goes, I'll have to switch to one of them soon. Agreed also that it is not easy to implement. So I guess the answer must be that for the time being it is not available, i.e. I can't find out, at least not from LiveCode. I thought d...
by RobertC
Sat Feb 23, 2019 3:56 pm
Forum: Mac OS
Topic: virtual desktop - spaces
Replies: 22
Views: 4139

virtual desktop - spaces

Hello, I have an application that I always want to be visible, whatever space (aka virtual desktop) I'm working on. The message desktopChanged is sent when the screen's definition(*) or aspect ratio changes, but apparently not when I go to a different space on the same screen. The screenRects is not...
by RobertC
Tue Mar 24, 2015 7:51 am
Forum: Engine Contributors
Topic: mousedoubleup
Replies: 11
Views: 6440

Re: mousedoubleup

If you need to handle both and have them do completely different things, then typically this means there's a flaw in the UI design. It should perhaps be avoided, but what about the OSX Finder? It has singe and double clicks (and delays before you can edit a name? Or text editors which set the inser...

Go to advanced search