Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3860

Simulate an automatic enter key press

$
0
0

Hi All.

A question for something that I hope is possible, but might not be.

In my screensaver program, after the user enters when they want a the program to end, after x minutes, i have them press “return” - Mac - Chr(13) - so they can enter more than one character in the appropriate textfield.

I want to, when the program is opened automatically generate a keypress in the textfield. (I load the previous preferences the user had on startup).

I’ve tried appending Chr(13), Keyboard, etc. but it is fighting me tooth and nail.

Any ideas?

And Happy Gnu Year.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3860

Trending Articles