Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Mouseclicks in GUI


  • This topic is locked This topic is locked
9 replies to this topic

#1 TheNorwegianUser

TheNorwegianUser

    Wayfarer

  • Active Members
  • Pip
  • 63 posts

Posted 15 March 2012 - 09:14 PM

Yes. i'm not good on autoit, and my english sucks.

But in a GUI, can i make the gui press at a x and y axis in the gui, without using my mouse? so i can do other things at the same time? Not just like _IEImgClick, because it doesn't lead to a link, and can i use pixelgetcolor etc in a gui that runs while i do other stuff on my computer?







#2 TheNorwegianUser

TheNorwegianUser

    Wayfarer

  • Active Members
  • Pip
  • 63 posts

Posted 16 March 2012 - 02:36 PM

Does anyone know?
Is it impossible?

#3 spudw2k

spudw2k

    passionately misinformed

  • Active Members
  • PipPipPipPipPipPip
  • 1,331 posts

Posted 16 March 2012 - 02:43 PM

You can use MouseMove and MouseClick functions to do so, but a better way would be to use the AUInfo tool included with AutoIt, find the control ids within the GUI you wish to automate and use ControlSend or ControlClick functions to interact with it.

Edited by spudw2k, 16 March 2012 - 02:43 PM.


#4 TheNorwegianUser

TheNorwegianUser

    Wayfarer

  • Active Members
  • Pip
  • 63 posts

Posted 16 March 2012 - 03:02 PM

You can use MouseMove and MouseClick functions to do so, but a better way would be to use the AUInfo tool included with AutoIt, find the control ids within the GUI you wish to automate and use ControlSend or ControlClick functions to interact with it.


But doesn't that use the mouse, so i can't do other things at the same time?

#5 TheNorwegianUser

TheNorwegianUser

    Wayfarer

  • Active Members
  • Pip
  • 63 posts

Posted 17 March 2012 - 09:27 PM

You can use MouseMove and MouseClick functions to do so, but a better way would be to use the AUInfo tool included with AutoIt, find the control ids within the GUI you wish to automate and use ControlSend or ControlClick functions to interact with it.


works if there is any text in the window, but on some sites there arent any text, because it uses pictures or flash 11. Any other way i can do it there?

#6 TheNorwegianUser

TheNorwegianUser

    Wayfarer

  • Active Members
  • Pip
  • 63 posts

Posted 20 March 2012 - 07:27 AM

noone knows?

#7 Mechaflash

Mechaflash

    Sons of Anarchy

  • Active Members
  • PipPipPipPipPipPip
  • 1,377 posts

Posted 20 March 2012 - 06:37 PM

You're annoying :oops:

What's the URL of the site you are trying to automate controls on?
“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

#8 TheNorwegianUser

TheNorwegianUser

    Wayfarer

  • Active Members
  • Pip
  • 63 posts

Posted 20 March 2012 - 08:30 PM

You're annoying :oops:

What's the URL of the site you are trying to automate controls on?


Here's the site:
http://freiamelkesjokolade.no/flash.html#/Login

I want it to log in for me, but i can't even make it click at the place to log in...
Oh, and it's also possible to make the GUI type in the username and password, right? While im checking facebook and waiting for it to log in?

Edit:
The site is in Norwegian, so maybe you don't understand...
If you can't load the site, it's probably because you don't have flash 11.

Edited by TheNorwegianUser, 20 March 2012 - 08:31 PM.


#9 Mechaflash

Mechaflash

    Sons of Anarchy

  • Active Members
  • PipPipPipPipPipPip
  • 1,377 posts

Posted 20 March 2012 - 08:53 PM

I had a feeling it was for site login automation :oops:

Forum Rules states that web site login automation is a subject that cannot be talked about in this forum.

Under "Do Not Discuss", 4th bullet

SPAM tools including instant messenger or forum auto-posters. This includes forum or site auto-login methods.


“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

#10 Melba23

Melba23

    I'm old - what's your excuse?

  • Moderators
  • 21,816 posts

Posted 20 March 2012 - 08:56 PM

TheNorwegianUser,

As stated in the Forum rules, log-in scripts are not permitted here. :oops:

M23
StringSize - Automatically size controls to fit text                                                               ExtMsgBox - A user customisable replacement for MsgBox
Toast - Small GUIs which pop out of the Systray                                                                Marquee - Scrolling tickertape GUIs
Scrollbars - Automatically sized scrollbars with a single command                                   GUIFrame - Subdivide GUIs into many adjustable frames
GUIExtender - Extend and retract multiple sections within a GUI                                      NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes
ChooseFileFolder - Single and multiple selections from specified path tree structure      Notify - Small notifications on the edge of the display
Date_Time_Convert - Easily convert date/time formats, including the language               GUIListViewEx - Insert, delete, move, drag, sort and edit ListView items




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users