How to point a Loc in a Screen And Make A Click on it??
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
How to point a Loc in a Screen And Make A Click on it??
Dear friends,
How to point a Loc in a Screen And Make A Click on that point??? In other words select a point in the screen and then click on it to do something???
Can you help me please with some demo codes??? Best regads,
Lestroso
How to point a Loc in a Screen And Make A Click on that point??? In other words select a point in the screen and then click on it to do something???
Can you help me please with some demo codes??? Best regads,
Lestroso
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: How to point a Loc in a Screen And Make A Click on it??
Hi Lestroso
If i understand correctly what you want
Why not ?
Kind regards
Jean-Marc
If i understand correctly what you want
Why not ?
Code: Select all
click at the loc of btn 1 -- or other loc that you want
Jean-Marc
https://alternatic.ch
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
Re: How to point a Loc in a Screen And Make A Click on it??
the click function don't work because i would like to click another window app outside the main livecode stack...Is there any other manner to do clik outside the main windows??
Thanks A lot,
Best regards,
Lestroso
Thanks A lot,
Best regards,
Lestroso
Re: How to point a Loc in a Screen And Make A Click on it??
Hi Lestroso,
Best
Klaus
not with the build-in means.Fasasoftware wrote:Is there any other manner to do clik outside the main windows??
Best
Klaus
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
Re: How to point a Loc in a Screen And Make A Click on it??
thanks klaus....sob....so i can't....i hope in the future...thanks again to everybody....
lestroso
lestroso
Re: How to point a Loc in a Screen And Make A Click on it??
On Windows you could do this with an external (not something I could help with). You CAN use a shell command to run a pre-compiled application which does have a mouse event interface. Here is an AutoIT script which can do the mouse clicking. You can choose the "Compile With Options" version and create a CUI interface (ie, not a GUI - there is a checkbox option for this). That way you can pass arguments and retrieve return value to/from the console application.
If you write out the CUI compiled app to the temporary folder and use shell to run it, you can send it parameters to choose your click location and options. I will also find somewhere to upload a little sampler (too big to attach to the forum post) which contains the CUI compiled script as a custom property of the stack and you can see how it operates.
Edit: here is the sampler location (it may not stay there for that long) http://mapleitsolutions.on-rev.com/test ... r.livecode
If you write out the CUI compiled app to the temporary folder and use shell to run it, you can send it parameters to choose your click location and options. I will also find somewhere to upload a little sampler (too big to attach to the forum post) which contains the CUI compiled script as a custom property of the stack and you can see how it operates.
Edit: here is the sampler location (it may not stay there for that long) http://mapleitsolutions.on-rev.com/test ... r.livecode
- Attachments
-
- MouseClicksScript.zip
- Unzip to .au3 file and edit with text editor
- (590 Bytes) Downloaded 217 times
Re: How to point a Loc in a Screen And Make A Click on it??
May be worth having a look:Fasasoftware wrote:the click function don't work because i would like to click another window app outside the main livecode stack...Is there any other manner to do clik outside the main windows??
http://www.autohotkey.com/board/topic/5 ... utohotkey/
Disclaimer: I don't use this tool; it's just in my special bookmarks.
HTH,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!