AutoHotkey Community

It is currently May 27th, 2012, 1:28 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: March 16th, 2009, 1:00 pm 
Offline

Joined: March 11th, 2009, 12:00 am
Posts: 86
Location: Nsw/Syd/Kiama
hello all,
i have a script that runs outher scripts saved as exe's
so i have made one main script hat says..

ctr+l = runscript1.exe
ctrl+x=RunScript2.exe
etc
etc


ok but lets say in runscript1.exe theres a comand that states

we have to clcik an object in a certain game and interact with it.

how wld i state a command that wld folow these sorta guidlinges


(press ctr+l..started script)... now before the script actualy startes, there needs to be a cross hair or something that u move around then hold..say shift. then it sets the color, after the color is set it wait a couple of seconds then starts the actual script....


if that made any sense to anyone, can u pleas reply with some help asap =D hahahah thanks.

_________________
---{+.-}---


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 16th, 2009, 2:54 pm 
Quote:
geting the color of a set pixel before running the script
You could use a digital camera to get the color of a set of pixels before running a script. Or after running a script. I guess it's working both ways :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2009, 11:35 am 
Offline

Joined: March 11th, 2009, 12:00 am
Posts: 86
Location: Nsw/Syd/Kiama
That sort of comment was not at all called for, please dont post deliberate
stupidity.

If anyone has a more eficiant and productive answer i would be most greatfull.

_________________
---{+.-}---


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2009, 1:07 pm 
Offline

Joined: March 17th, 2008, 10:02 pm
Posts: 21
Location: Netherlands
The idea is not that stupid... and your post is also no jewel :roll:

you could make a screenshot and analyse the pixelcolors.
best thing would be, to take the particular area of the screenshot, works faster - you have to analyse rows and columns pixels, until you meet the color you're searching for.

Better to get the pixelcolor beneath the positions x-,y-, use a winspy to retrieve and RTFM

_________________
your eyes are like bright stars in the sea,
you clean the dishes and I watch tv...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2009, 1:22 pm 
Ahh yeah true, but my post that is "non jewel like" was not intensianl, im just as interlectual as some of you, what he done was deliberate stupidity.

but yes thank you very much for the idea. i shall try that. =D


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, oldbrother, Yahoo [Bot] and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group