hi, how can I, control mouse position and clicking from python?
I want to interact with a flash application inside firefox. thanks.
ps: I am not using windows. 10 5431
On Nov 28, 1:29 pm, Glich <Glich.Gl...@googlemail.comwrote:
hi, how can I, control mouse position and clicking from python?
I want to interact with a flash application inside firefox. thanks.
ps: I am not using windows.
Ooof, I was about to suggest using pywinauto, because I was able to
interact with a flash app with that module, until I saw your p.s.
So even though you are not using windows and can't use this technique
directly, I am just posting to give you some encouragement that, at
least theoretically, such a thing can be done.
-- Paul
Paul McGuire wrote:
On Nov 28, 1:29 pm, Glich <Glich.Gl...@googlemail.comwrote:
>hi, how can I, control mouse position and clicking from python?
I want to interact with a flash application inside firefox. thanks.
ps: I am not using windows.
Ooof, I was about to suggest using pywinauto, because I was able to
interact with a flash app with that module, until I saw your p.s.
So even though you are not using windows and can't use this technique
directly, I am just posting to give you some encouragement that, at
least theoretically, such a thing can be done.
It is for sure - VNC server does that.
It might be a (very bad) solution to install a VNC server on one
computer, and controll it from Windows using a VNC client. (It works but
it was a joke, of course...)
Laszlo
Glich wrote:
hi, how can I, control mouse position and clicking from python?
I want to interact with a flash application inside firefox.
thanks.
ps: I am not using windows.
On Mac, IIRC, you can't.
Regards,
Björn
--
BOFH excuse #394:
Jupiter is aligned with Mars.
On Nov 28, 9:33 pm, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@spamgourmet.comwrote:
snip
>
On Mac, IIRC, you can't.
Regards,
well, you can do it from Java, (the Robot class, as I recall), so you
should be able to do it in Jython, which is a Python implementation,
so....
Tony
On Nov 28, 9:33 pm, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@spamgourmet.comwrote:
snip
>
On Mac, IIRC, you can't.
Regards,
well, you can do it from Java, (the Robot class, as I recall), so you
should be able to do it in Jython, which is a Python implementation,
so....
Tony
Tony wrote:
[place mouse programmatically]
well, you can do it from Java,
Are you absolutely positive? IIRC the Mac UI guidelines forbid such
things, and there's no API function for it; so Java wouldn't have
any chance.
Regards,
Björn
--
BOFH excuse #136:
Daemons loose in system.
Glich wrote:
hi, how can I, control mouse position and clicking from python?
I want to interact with a flash application inside firefox. thanks.
ps: I am not using windows.
I've use the external program xte with some success if you don't send it too
many events too quickly. I start it using subprocess and feed it commands. On Ubuntu
sudo apt-get install xautomation
It uses the XTest extension for X11 to send mouse events to the system. One
could probably easily wrap the xlib API for it using ctypes so you wouldn't have
to bother with an external program.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
Glich wrote:
I am running ubuntu. :)
I neither asserted differently nor am I competent in clairvoyance.
Regards,
Björn
--
BOFH excuse #93:
Feature not yet implemented
Robert Kern wrote:
There is an API for it. Not all programs have GUIs so the HIG
doesn't restrict the scope of the OS's APIs.
Ah, okay. In (IIRC) wxPython docs, I read differently.
Regards,
Björn
--
BOFH excuse #40:
not enough memory, go get system upgrade This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Carlos García-Carazo |
last post by:
Hello,
I am working on a C# application for an industrial machine, using Windows
Forms,
where the user could look at the screen from a 90 degree rotated position,
like he
could turn the monitor...
|
by: Tinus |
last post by:
Hello all,
I've created a custom control that draws a monthly schedule (using the Draw
function in C#). Basically it draws 31 boxes and writes the day number in
every box.
This works...
|
by: Charles Law |
last post by:
Sorry for reposting this question, but I did not get a single answer last
time, and I'm sure you guys must have some thoughts on the matter.
I have a user control which can be dragged and dropped...
|
by: jcrouse |
last post by:
I have created a form designer type application (with a lot of you peoples
helpJ). It has label controls that are draggable at runtime. The user is
also allowed to change some properties such as...
|
by: Sam |
last post by:
Hi,
I can't figure out how to detect when my mouse cursor leaves a panel
control. It should not trigger the event (or do anything) when the
mouse leave the panel but still is over a control that...
|
by: ohadasor |
last post by:
Hello,
I have a control which I need to act in a specific way when the user
drags the mouse on it. Means, that the user should click on the
control's one position, hold the mouse button, move it...
|
by: Joe-Paul Robb, Jr. |
last post by:
Hello:
I am building a program in Visual Basic 6.0. (Op Sys: Windows XP 2002
Service Pack 2)
I placed an AOD Data Control on a form...and a data Grid. I bound the data
grid to the data...
|
by: mirandacascade |
last post by:
I want to set things up such that a section of code will have been
executed by the time one clicks on the drop down arrow on a combo box
control. Currently, that section of code resides in the...
|
by: ducttape |
last post by:
Hello
I'm busy working with an MDI parent and child forms. I've found that there is a discrepancy between the locations returned by DesktopLocation, Control.MousePosition and MouseEventArgs...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: SueHopson |
last post by:
Hi All,
I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...
| |