AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 44 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Returning multiple values from funcion
me10c

Replies: 4
Views: 264

PostForum: Ask for Help   Posted: Mon Sep 27, 2010 8:58 pm   Subject: Returning multiple values from funcion

t1=0x80fefe
t2=0x401cfe
t3=0xfc8612

Color(x1,y1,x2,y2,cvjat)
{
pixelsearch,cox,coy,%x1%,%y1%,%x2%,%y2%,%cvjat%,40,fast
if(errorlevel=0)
return cvjat
else
return 0
...
  Topic: Can't start the script ...
me10c

Replies: 8
Views: 240

PostForum: Ask for Help   Posted: Wed Sep 08, 2010 8:04 pm   Subject: Can't start the script ...
Meh ... I'll just spam the Z with my finger (SendInput, SendEvent and SendPlay do not work either)
  Topic: Can't start the script ...
me10c

Replies: 8
Views: 240

PostForum: Ask for Help   Posted: Wed Sep 08, 2010 7:24 pm   Subject: Can't start the script ...
.. I can tell if it recognizes 1 when I double click the icon in the tray after I press 1 .. If there is "send z, send z .etc etc" the 1 was recognized and it started the Zs.
  Topic: Can't start the script ...
me10c

Replies: 8
Views: 240

PostForum: Ask for Help   Posted: Wed Sep 08, 2010 3:46 pm   Subject: Can't start the script ...

#UseHook
1::
GoSub, Zs
return
#usehook off

Zs:
send z
send z
send z
send z
return

It does recognize the 1, but when it send the Zs, the game still does not recognize them ...
  Topic: Can't start the script ...
me10c

Replies: 8
Views: 240

PostForum: Ask for Help   Posted: Wed Sep 08, 2010 11:09 am   Subject: Can't start the script ...
I am not sure it's they start key itself ... 1 works just fine at notepad and such
  Topic: Can't start the script ...
me10c

Replies: 8
Views: 240

PostForum: Ask for Help   Posted: Wed Sep 08, 2010 10:57 am   Subject: Can't start the script ...
I wanted to make a simple script for a game but when I'm at the game and I press 1 the script just .. doesnt start (even when I open the history there is nothing .. as if I haven't pressed 1). Any ide ...
  Topic: Reverse Pixel Search
me10c

Replies: 6
Views: 538

PostForum: Ask for Help   Posted: Thu Aug 26, 2010 11:36 pm   Subject: Reverse Pixel Search
It works a bit slower (I assume this is due to my slow-ish CPU) but it does the job. Thanks Smile.
  Topic: Reverse Pixel Search
me10c

Replies: 6
Views: 538

PostForum: Ask for Help   Posted: Thu Aug 26, 2010 11:27 pm   Subject: Reverse Pixel Search
I need the script to find a black square (for example) and mousemove at the bottom-right, not the top-left.

ex.


PixelSearch, SomeX, SomeY,300, 300, 100, 100, 0x000000, 0, Fast
Mousemove, Some ...
  Topic: Reverse Pixel Search
me10c

Replies: 6
Views: 538

PostForum: Ask for Help   Posted: Thu Aug 26, 2010 10:42 pm   Subject: Reverse Pixel Search
PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, Variation, Fast|RGB]

x1, y1 - The X and Y coordinates of the upper left corner of the rectangle to search, which can be expre ...
  Topic: Getting only one digit of a number ?
me10c

Replies: 5
Views: 203

PostForum: Ask for Help   Posted: Mon Aug 16, 2010 8:47 pm   Subject: Getting only one digit of a number ?
I assume that changing 1 changes the number of diggits
Not that I need it, but it will be good to know, how can I get it backwords ?
200 (0, 0 and 2)
  Topic: Getting only one digit of a number ?
me10c

Replies: 5
Views: 203

PostForum: Ask for Help   Posted: Mon Aug 16, 2010 8:36 pm   Subject: Getting only one digit of a number ?
I need to get only one digit from a number.
For Example

SomeVar = 200
X = the 1st digit (2) of SomeVar
Y = the 2nd digit (0) of SomeVar
Z = The 3rd digit (0) of SomeVar ...
  Topic: Mouse Splines
me10c

Replies: 32
Views: 3329

PostForum: Ask for Help   Posted: Sat Aug 14, 2010 1:51 pm   Subject: Mouse Splines
I came up with this for an imitation of human mouse movement (if you increase "value" the movement is more circle like, if you reduce it it becomes more of a line, if value < 0 the moveme ...
  Topic: Mouse Splines
me10c

Replies: 32
Views: 3329

PostForum: Ask for Help   Posted: Thu Aug 12, 2010 8:58 am   Subject: Mouse Splines
I tried with false.
http://i38.tinypic.com/2h684eh.jpg
I want to move the mouse with the ORANGE movement (which is the equivalent of the red movement). When I change to false with the current script ...
  Topic: Mouse Splines
me10c

Replies: 32
Views: 3329

PostForum: Ask for Help   Posted: Thu Aug 12, 2010 8:41 am   Subject: Mouse Splines
Kind'a last question
http://i37.tinypic.com/rs67iq.jpg
P1 the position at the start of spacing
P2 the position at end of spacing
P3 the position at the end of the movement

I need a movement fro ...
  Topic: Mouse Splines
me10c

Replies: 32
Views: 3329

PostForum: Ask for Help   Posted: Thu Aug 12, 2010 1:22 am   Subject: Mouse Splines
Since I barely understand that code ... how exactly can I make the circle movement stop at 1/4 (only an arc, not a full circle)
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group