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 289 matches
AutoHotkey Community Forum Index
Author Message
  Topic: What is wrong with my script anyone?
rtcvb32

Replies: 4
Views: 257

PostForum: Ask for Help   Posted: Tue Sep 21, 2010 5:45 pm   Subject: What is wrong with my script anyone?
Maybe add a tooltip? Although it says any physical activity would reset the time.... Do you have an optical mouse? I notice sometimes my mouse moves on it's own for no reason (Drifting left or whatnot ...
  Topic: What is wrong with my script anyone?
rtcvb32

Replies: 4
Views: 257

PostForum: Ask for Help   Posted: Tue Sep 21, 2010 5:19 pm   Subject: What is wrong with my script anyone?
Well, the time is in ms, so a minute is 60000, not 5000 (5 seconds).

I'm not sure how well 13 would work (Shutdown, Force, Powerdown). perhaps just 12? (Force PowerDown)

Out of habit i surround ...
  Topic: my script is missing lines out. why ?
rtcvb32

Replies: 21
Views: 557

PostForum: Ask for Help   Posted: Tue Sep 21, 2010 5:03 pm   Subject: my script is missing lines out. why ?
its me again ive just tried it out of game on the exact same colour and it gave me this 0/23666/0 i dont know if thats any help Embarassed

Well, as a reminder, this like most window functions rely o ...
  Topic: my script is missing lines out. why ?
rtcvb32

Replies: 21
Views: 557

PostForum: Ask for Help   Posted: Tue Sep 21, 2010 4:58 pm   Subject: my script is missing lines out. why ?
There is another suggestion. Move the message box out of the function and have it on exit.


;... previous code
;might move err0-2 resets out from the f10 call.
Err%errorLevel%++
}
return ...
  Topic: my script is missing lines out. why ?
rtcvb32

Replies: 21
Views: 557

PostForum: Ask for Help   Posted: Tue Sep 21, 2010 4:36 pm   Subject: my script is missing lines out. why ?
Maybe an array counter would be more applicable.


#Persistent
#NoEnv
F10::
Err0 = 0
Err1 = 0
Err2 = 0
While GetKeyState("F10", "T")
{
PixelSearch, ...
  Topic: my script is missing lines out. why ?
rtcvb32

Replies: 21
Views: 557

PostForum: Ask for Help   Posted: Mon Sep 20, 2010 7:55 pm   Subject: my script is missing lines out. why ?
If I understand the documentation right, you'll be getting ErrorLevel 2.

PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID
PixelSearch, Px, Py, 639, 510, 641, 512, 0x07AC07, 70, Fas ...
  Topic: Trouble determining dates
rtcvb32

Replies: 6
Views: 255

PostForum: Ask for Help   Posted: Mon Sep 20, 2010 4:11 pm   Subject: Trouble determining dates
But it puts all the data in %data%. In my particular code, I need 7 variables, %date1%, %date2%, etc.

Than change the one line to...

;From
data .= date "`n"

;To
date%a_index% = d ...
  Topic: Trouble determining dates
rtcvb32

Replies: 6
Views: 255

PostForum: Ask for Help   Posted: Mon Sep 20, 2010 3:43 pm   Subject: Trouble determining dates
x := A_Now
Loop, 7 {
FormatTime, date, %x%, ddd = MM/dd
data .= date "`n"
x += 1, day
}
MsgBox, %data%

I've sworn i suggested a tight loop like that before... Plus ...
  Topic: Can someone write a tutorial just on ahk and registry manip
rtcvb32

Replies: 7
Views: 389

PostForum: Ask for Help   Posted: Mon Sep 20, 2010 3:22 pm   Subject: Can someone write a tutorial just on ahk and registry manip
best to leave the freakin registry alone unless your already well versed AHK should/better not be your learning experience

Probably a good idea. However IniRead/IniWrite should be safe; Assuming yo ...
  Topic: dragonica f1 spam for auto start pvp
rtcvb32

Replies: 37
Views: 17672

PostForum: Ask for Help   Posted: Mon Sep 20, 2010 2:20 am   Subject: Re: dragonica f1 spam for auto start pvp
can you guys make me a script for my dragonica? i need to spam f1 button while im doing afk pvps thanks

Reminds me i wrote one not that long ago. Course i shortly found another two games i wanted t ...
  Topic: Programming Language
rtcvb32

Replies: 9
Views: 483

PostForum: Ask for Help   Posted: Sun Sep 19, 2010 10:45 pm   Subject: Programming Language
My personal suggest: Go hardcore, learn ASM!

Actually learning assembly language would do every programmer some good. Working with registers, the low level control of every detail, you come to re ...
  Topic: Coordinate Finding
rtcvb32

Replies: 4
Views: 349

PostForum: Ask for Help   Posted: Sun Sep 19, 2010 9:53 pm   Subject: Coordinate Finding
Also Captcha's are usually warped and distorted so you can't use any common OCR. Some add static, some warp angles, some use a variety of colors, anything that takes away a easy pattern. Even if someo ...
  Topic: How to activate the "F1-F9"?
rtcvb32

Replies: 2
Views: 382

PostForum: Ask for Help   Posted: Sun Sep 19, 2010 9:07 pm   Subject: How to activate the "F1-F9"?
Hmm sounds like you need a lbutton handler, and your coordinates entered.

So.... Hotkeys, Getkeystate, sleep, loop, #ifwinactive. Sounds about right.

Say i wanted a tooltip to pop up only when i ...
  Topic: Mouse Click and drag...please help
rtcvb32

Replies: 3
Views: 247

PostForum: Ask for Help   Posted: Sun Sep 19, 2010 4:58 pm   Subject: Mouse Click and drag...please help
Let's see... There are examples in the documentation, but...


SetTitleMatchMode, 2

#ifWinActive notepad
;when a is pressed but only when notepad is open
a::
loop, {
if (g ...
  Topic: Mouse Click and drag...please help
rtcvb32

Replies: 3
Views: 247

PostForum: Ask for Help   Posted: Sun Sep 19, 2010 4:09 pm   Subject: Mouse Click and drag...please help
If i read your request right, then yes (probably). Read up on loop, getkeystate, hotkeys, and #ifWinActive, and sleep. (sleeping is very important for your computer, or it can get sluggish)
 
Page 1 of 20 Goto page 1, 2, 3 ... 18, 19, 20  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group