Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Simulate-input-Keyboard/Oz/simulate-input-keyboard.oz
Normal file
14
Task/Simulate-input-Keyboard/Oz/simulate-input-keyboard.oz
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
declare
|
||||
[QTk] = {Module.link ['x-oz://system/wp/QTk.ozf']}
|
||||
Entry
|
||||
Window = {QTk.build td(entry(handle:Entry))}
|
||||
in
|
||||
{Window show}
|
||||
{Entry getFocus(force:true)}
|
||||
|
||||
for C in "Hello, world!" do
|
||||
Key = if C == 32 then "<space>" else [C] end
|
||||
in
|
||||
{Delay 100}
|
||||
{Tk.send event(generate Entry Key)}
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue