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 26 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Code isnt working as desired
Astrognaw

Replies: 8
Views: 268

PostForum: Ask for Help   Posted: Tue Feb 01, 2011 7:08 am   Subject: Code isnt working as desired
Basically after Send c{ENTER} I want my program to check the last 800 characters of the log file for the string southwest. If southwest it contains southwest I want the program to return to the main l ...
  Topic: Code isnt working as desired
Astrognaw

Replies: 8
Views: 268

PostForum: Ask for Help   Posted: Tue Feb 01, 2011 6:27 am   Subject: Code isnt working as desired
loop 1000
{


WinWait, lala - Mozilla Firefox,
IfWinNotActive, lala - Mozilla Firefox, , WinActivate, lala - Mozilla Firefox,
WinWaitActive, lala - Mozilla Firefox,

Sleep, 100
S ...
  Topic: Cant get the hotkey to work in game
Astrognaw

Replies: 4
Views: 182

PostForum: Ask for Help   Posted: Tue Feb 01, 2011 5:52 am   Subject: Cant get the hotkey to work in game
Did you try

SendMode Input
  Topic: Switch Statement
Astrognaw

Replies: 3
Views: 184

PostForum: Ask for Help   Posted: Tue Feb 01, 2011 5:24 am   Subject: Switch Statement
not really, you can use else if in a similar manner, examples from a = flat iron

If a in Snoopy,Doopey
MsgBox One
Else If a contains Foo,Bar
MsgBox Two
Else If a = Droopy
MsgBox Three ...
  Topic: Just need a delay
Astrognaw

Replies: 7
Views: 169

PostForum: Ask for Help   Posted: Tue Feb 01, 2011 4:49 am   Subject: Just need a delay
^3::
Loop
{
Send, 3
Sleep 5000
}

Esc::MsgBox Pause
return

after pressing tilde/` key it'll pause and you can close it. lemme know if you want diff keys.

edit ...
  Topic: D and space in loop
Astrognaw

Replies: 4
Views: 386

PostForum: Ask for Help   Posted: Sun Nov 29, 2009 10:34 pm   Subject: D and space in loop
Acecoder's script doesn't seem to work for me. It'll continue if I press Insert for 3+ seconds, and it takes another press of insert to stop the D's.

I'm oddly terrible with hotkeys, perhaps this i ...
  Topic: D and space in loop
Astrognaw

Replies: 4
Views: 386

PostForum: Ask for Help   Posted: Sun Nov 29, 2009 5:13 pm   Subject: D and space in loop
Sendmode Input
insert::
loop,
{
send, {D down}
send, {D up}
send, {Space}
GetKeyState, state, insert, P
if State = U
break
Sleep, 20
...
  Topic: Waiting for a webpage to load
Astrognaw

Replies: 11
Views: 1123

PostForum: Ask for Help   Posted: Wed Nov 11, 2009 11:08 pm   Subject: Waiting for a webpage to load
I'm simply wondering why it wouldn't work on my machine/setup. Visible creates a blank IE. Navigate2/Navigate (for that 'identity') opens a 2nd window with a different object 'identity.' I can make it ...
  Topic: Waiting for a webpage to load
Astrognaw

Replies: 11
Views: 1123

PostForum: Ask for Help   Posted: Wed Nov 11, 2009 1:23 am   Subject: Waiting for a webpage to load
For some reason the above code doesn't work for me in IE7.

COM_Invoke(pweb, "Visible", True) ; creates a blank IE7 window
COM_Invoke(pweb, "Navigate2", sUrl) ; ...
  Topic: OPIE fishing bot for WOW
Astrognaw

Replies: 294
Views: 71331

PostForum: Scripts & Functions   Posted: Tue Nov 10, 2009 12:10 am   Subject: OPIE fishing bot for WOW
Really nice work. I appreciate all the time you put into this. 1.0 didn't work for me, anywhere I fished it said there was too much splash color, but this did the job fantastically.

By the way, the ...
  Topic: copy webpage into notepad
Astrognaw

Replies: 16
Views: 1444

PostForum: Ask for Help   Posted: Sat Nov 07, 2009 8:28 pm   Subject: copy webpage into notepad
You might find it more reliable to use Sean's #NoEnv
#include COM.ahk
#include GetWebBrowser.ahk

`::
Com_Init()
pwb := GetWebBrowser()
gUrl := COM_Invoke( ...
  Topic: increasing integer capacity for arithmetic?
Astrognaw

Replies: 2
Views: 314

PostForum: Ask for Help   Posted: Mon Oct 26, 2009 3:50 am   Subject: increasing integer capacity for arithmetic?
From the help file...
Commands, functions, and expressions that accept numeric inputs generally support 15 digits of precision for floating point values. For integers, 64-bit signed values are suppor ...
  Topic: Question on COM/DOM access/manipulation
Astrognaw

Replies: 3
Views: 429

PostForum: Ask for Help   Posted: Thu Sep 03, 2009 5:00 pm   Subject: Question on COM/DOM access/manipulation
I know I made this post awhile ago but I figured out how to do it (for some things):
#include COM.ahk
#include GetWebBrowser.ahk

COM_Init()

^f12::

COM_Init()
pwb &# ...
  Topic: simple? map right-click to middle click and viceversa
Astrognaw

Replies: 4
Views: 643

PostForum: Ask for Help   Posted: Sun Aug 30, 2009 2:46 am   Subject: simple? map right-click to middle click and viceversa
this work?
MButton::
Send, {RButton}
return

RButton::
Send, {MButton}
return
  Topic: How to get and manipulate URL in internet software
Astrognaw

Replies: 6
Views: 474

PostForum: Ask for Help   Posted: Sat Aug 29, 2009 8:34 pm   Subject: How to get and manipulate URL in internet software
#include COM.ahk
#include GetWebBrowser.ahk
#NoEnv
^d::
Com_Init()
pie := GetWebBrowser()
gUrl := COM_Invoke(pie, "LocationURL")
StringTrimRigh ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group