Talk:Simulate input/Mouse: Difference between revisions

From Rosetta Code
Content added Content deleted
(global i suppose)
Line 3: Line 3:
I think this task should require implementations to specify whether they are simulating mouse clicks on one of ''this application/process's'' windows (internal), or anywhere on the screen (OS/window system access). --[[User:Kevin Reid|Kevin Reid]] 16:02, 27 May 2009 (UTC)
I think this task should require implementations to specify whether they are simulating mouse clicks on one of ''this application/process's'' windows (internal), or anywhere on the screen (OS/window system access). --[[User:Kevin Reid|Kevin Reid]] 16:02, 27 May 2009 (UTC)
: I believe AutoHotkey is meant to simulate "system wide" events, that of course are grabbed by the active application, being the active application any of the apps the user can activate... So maybe this task asks for a synthetized event that is not distinguishable from an event generated by an user interaction (pressing a key e.g.). Rather, it is strongly operating system dependent (unless using a portable language which has a portable library/module which uses the same "interface" on different system, like <tt>$synth->button_down(LEFT, $x, $y)</tt> (fantasy perlish example). --[[User:ShinTakezou|ShinTakezou]] 16:28, 27 May 2009 (UTC)
: I believe AutoHotkey is meant to simulate "system wide" events, that of course are grabbed by the active application, being the active application any of the apps the user can activate... So maybe this task asks for a synthetized event that is not distinguishable from an event generated by an user interaction (pressing a key e.g.). Rather, it is strongly operating system dependent (unless using a portable language which has a portable library/module which uses the same "interface" on different system, like <tt>$synth->button_down(LEFT, $x, $y)</tt> (fantasy perlish example). --[[User:ShinTakezou|ShinTakezou]] 16:28, 27 May 2009 (UTC)
::That just means that good answers to this task will discuss these issues, yes? —[[User:Dkf|Dkf]] 18:09, 27 May 2009 (UTC)

Revision as of 18:09, 27 May 2009

Local vs global

I think this task should require implementations to specify whether they are simulating mouse clicks on one of this application/process's windows (internal), or anywhere on the screen (OS/window system access). --Kevin Reid 16:02, 27 May 2009 (UTC)

I believe AutoHotkey is meant to simulate "system wide" events, that of course are grabbed by the active application, being the active application any of the apps the user can activate... So maybe this task asks for a synthetized event that is not distinguishable from an event generated by an user interaction (pressing a key e.g.). Rather, it is strongly operating system dependent (unless using a portable language which has a portable library/module which uses the same "interface" on different system, like $synth->button_down(LEFT, $x, $y) (fantasy perlish example). --ShinTakezou 16:28, 27 May 2009 (UTC)
That just means that good answers to this task will discuss these issues, yes? —Dkf 18:09, 27 May 2009 (UTC)