Sign in to follow this  
Followers 0
JameZ

Double Click Script

10 posts in this topic

Hello,

I'm new to auto-it, and don't have any real script writing ability. I was looking at the FAQ and online for a simple double click script to loop and run in a program window. My computer runs vista and the ones I've come across haven't been working even when i run the script as admin. If anyone can help me out i would appreciate, about to rip my hair out at my own stupidity.

Share this post


Link to post
Share on other sites



JameZ,

Welcome to the AutoIt forum. :)

If you post your code please use Code tags - see here how to do it. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Also, you may want to request your first thread on this subject, in the Examples forum, be merged with this one.

 

As to your request, howzabout you provide us a tad bit more info, like:

  • What program you're trying to manipulate
  • When you say a "double click" script, what is the action you're trying to reproduce?

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

While 1
MouseClick( "left" )
MouseClick( "left" )
WEnd

It works a little, but doesnt register when i tab to the window the program i need it for is running in

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

 

It works a little, but doesnt register when i tab to the window the program i need it for is running in

 

That's great, but without knowing the application, how can we help you tab to it?

Edit: Have you tried using the AutoIt Window Info Tool (located in the same directory in which you installed AutoIt). That should give you more information about the window, which should let you use functions such as ControlSend and ControlClick, not so messy as mouse functions.

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

the application name is swgclient, i literally have to double click something a billion times.

Share this post


Link to post
Share on other sites

JameZ,

Now would this be anything to do with "Star Wars Galaxies"? :huh:

If so then you appear to have missed the Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing game automation. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

if i was to to say, no its something completely different would you believe me? :sweating:

Share this post


Link to post
Share on other sites

JameZ,

Alas, no. :naughty:

And the reason your script is not working is probably because the game is protecting itself against game-bots - so we could not help you anyway. ;)

But why not try using AutoIt for things other than game-bots? Look around the forum - there are plenty of ideas to spark your imagination. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0