deeznuts Posted January 2, 2008 Posted January 2, 2008 sorry if this has been answered elsewhere, i searched forums and read stickies and came up empty handed. I am just learning how to use autoit and use coding and i am having a problem. i started making a script however when i use mouseclick it will only mouseover what i want it to click. i spoke with a friend who is experienced with autoit and he said he had the same problem on vista. any help would be appreciated. HotKeySet("{ESC}","exitme") HotKeySet("{F2}","test") While 1 WEnd Func Test() MouseClick( " left" , 22, 497 , 1 , 3) Sleep (1000) MouseClick( " left" , 552, 215 , 1, 1) EndFunc Func exitme() Exit EndFunc
LarryDalooza Posted January 2, 2008 Posted January 2, 2008 I know " left" should be "left" ... (no space) ... that would exhibit your problem... Lar. AutoIt has helped make me wealthy
crzftx Posted January 2, 2008 Posted January 2, 2008 I prefer MouseDown("left") MouseUp("left") it's faster, and may be a good workaround if Larry's help still doesn't solve the issue.
BrettF Posted January 2, 2008 Posted January 2, 2008 I prefer MouseDown("left")MouseUp("left")it's faster, and may be a good workaround if Larry's help still doesn't solve the issue.What Larry said will fix the issue Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now