Search found 5525 matches

by dunbarx
Mon Oct 15, 2018 9:14 pm
Forum: Talking LiveCode
Topic: PDF printing problem
Replies: 0
Views: 13

PDF printing problem

I had mentioned something like this once before, but need help again. I am trying to print a bunch of line graphics to PDF. If I use the "Print..." menuItem in the "File" menu, and then "Save as PDF" in the dropdown there, I get a pretty decent rendering of the graphics on the card. But if I open pr...
by dunbarx
Mon Oct 15, 2018 3:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Creating Accessible Apps
Replies: 2
Views: 31

Re: Creating Accessible Apps

Hi.

By accessible, do you simply mean larger and with high contrast?

Craig Newman
by dunbarx
Mon Oct 15, 2018 2:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: learn transcript
Replies: 13
Views: 251

Re: learn transcript

Make a simple stack. An address book or some sort of calculator, perhaps one that changes dollars to pesos or metric to English values. You will have to learn a little bit, of course, to even start, but while you are reading you must also try building. Write to this forum constantly. You might start...
by dunbarx
Sun Oct 14, 2018 3:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: learn transcript
Replies: 13
Views: 251

Re: learn transcript

More important. What, if anything, have you done already? Have you made any sort of gadget, large or small/

Craig Newman
by dunbarx
Sat Oct 13, 2018 3:26 am
Forum: Talking LiveCode
Topic: KeysDown misses certain keys?
Replies: 6
Views: 121

Re: KeysDown misses certain keys?

So sitting here with a MacBook Air, all those keys that did not work at my office on an old MacAlley keyboard now work fine.

I never would have thought of that.

Craig
by dunbarx
Fri Oct 12, 2018 10:15 pm
Forum: Talking LiveCode
Topic: KeysDown misses certain keys?
Replies: 6
Views: 121

Re: KeysDown misses certain keys?

Hmmm.

I do have an old clunker of a keyboard. I will try another.

Craig
by dunbarx
Fri Oct 12, 2018 9:28 pm
Forum: Talking LiveCode
Topic: Detecting keyPresses outside of LC
Replies: 6
Views: 121

Re: Detecting keyPresses outside of LC

Richard. There are reasons to do so, but I started the new thread just because the subject would have been close up for anyone interested in what the title said. Merging makes sense, but then we have a long thread where the current state of the discussion would be well down the line. in other words,...
by dunbarx
Fri Oct 12, 2018 9:18 pm
Forum: Talking LiveCode
Topic: KeysDown misses certain keys?
Replies: 6
Views: 121

Re: KeysDown misses certain keys?

Richard. Yes, press and hold. The "keysDown" function is very literal; it says "down", It means "down". And yes, you get ASCII or "rawKey" information depending on the type of key. So it is a Mac thing? Any Windows keyPress operators out there? If it is OS dependent I will file a bug report. Craig E...
by dunbarx
Fri Oct 12, 2018 8:13 pm
Forum: Talking LiveCode
Topic: KeysDown misses certain keys?
Replies: 6
Views: 121

KeysDown misses certain keys?

On a card with a button and a wide field, put this in the button script: on mouseUp keysDownTest end mouseUp on keysDownTest if the commandKey is down then exit to top put the keysDown into fld 1 send "keysDownTest" to me in 1 end keysDownTest Now press a few keys. You get a result in the field, and...
by dunbarx
Fri Oct 12, 2018 6:55 pm
Forum: Talking LiveCode
Topic: Detecting keyPresses outside of LC
Replies: 6
Views: 121

Re: Detecting keyPresses outside of LC

Hermann.

You certainly did. I missed it in the other thread.

I hope the OP responds with his thoughts.

Craig
by dunbarx
Fri Oct 12, 2018 3:33 pm
Forum: Talking LiveCode
Topic: Detecting keyPresses outside of LC
Replies: 6
Views: 121

Detecting keyPresses outside of LC

This derives from a thread in this pane "Detect key events in Background", that speaks about detecting "ordinary" key presses, that is, not control keys like the optionKey or capsLock key, when LC is not in front. It seems useful to open another thread, just so more people might see it and add to th...
by dunbarx
Fri Oct 12, 2018 6:03 am
Forum: Talking LiveCode
Topic: Detect Key events in background
Replies: 8
Views: 239

Re: Detect Key events in background

So I says to myself, "Self? What did Hermann (and you) say about the capsLockKey? That it had its own function? Hmmm. So I says to myself, "Self?" How about this: on mouseUp getGoing end mouseUp on getGoing if the commandKey is down then exit getGoing put the keysDown into fld 1 if fld 1 = 120 then ...
by dunbarx
Fri Oct 12, 2018 4:47 am
Forum: Talking LiveCode
Topic: Detect Key events in background
Replies: 8
Views: 239

Re: Detect Key events in background

Hermann. You know, I did not have my brain in gear. I and others have made handlers in the past that react to control key events outside LC (or a key like capsLock that has its own function) but never an "ordinary" key, perhaps, the "X" key. The OP indicated he wanted to detect a "specific" key. We ...
by dunbarx
Fri Oct 12, 2018 12:00 am
Forum: Talking LiveCode
Topic: Detect Key events in background
Replies: 8
Views: 239

Re: Detect Key events in background

Hello, Hermann.

You are so right, as usual.
And all you really need is this:

Code: Select all

on openstack
  loopKey
end openstack

on loopKey
   put the internet date &cr&the optionKey into fld 1
   send "loopKey" to me in 1 second
end loopKey
Craig
by dunbarx
Thu Oct 11, 2018 3:29 pm
Forum: Talking LiveCode
Topic: Detect Key events in background
Replies: 8
Views: 239

Re: Detect Key events in background

Hi.

Though LC can run your loop just fine in the background, I do not think it will notice mouse or key events when not on top.

But if it is automatically doing its thing all by itself, why do you need to "tell" it to do it again with a keystroke?

Craig Newman

Go to advanced search