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 296 matches
AutoHotkey Community Forum Index
Author Message
  Topic: I would like to count how many "on" and "off&
vahju

Replies: 8
Views: 194

PostForum: Ask for Help   Posted: Fri Jan 27, 2012 6:44 pm   Subject: I would like to count how many "on" and "off&
Looks like Mickers beat me too it.


var =
(
1=on
2=off
3=on
4=on
5=off
6=off
7=off
8=on
9=off
)
counton := 0
countoff := 0
Loop, parse, var, `n, `r
{
...
  Topic: Losing Keyboard Control after hotstring
vahju

Replies: 11
Views: 565

PostForum: Ask for Help   Posted: Sun Dec 11, 2011 4:07 am   Subject: Losing Keyboard Control after hotstring
Maybe try loading all the text you want to send to the clipboad then paste the clipboard. If that doesn't work add some delay by using the sleep command between each line of your send commands.
  Topic: How to make a key input multiple different keys
vahju

Replies: 1
Views: 71

PostForum: Ask for Help   Posted: Wed Nov 30, 2011 3:45 am   Subject: How to make a key input multiple different keys
Try the below code but if this is for a game check the help file first because some games block programs like autohotkey from working.

$a::
Send, {right}{right}{up ...
  Topic: New harmony updates blocking AHK, Windows 7
vahju

Replies: 5
Views: 298

PostForum: Ask for Help   Posted: Tue Nov 29, 2011 6:55 pm   Subject: New harmony updates blocking AHK, Windows 7
Is it possible that your not running as a admin on the Win7 box? I have seen some responses in the forums where running as admin has fixed the issue.

The other option is maybe the Win7 UAC setting ...
  Topic: How do I combine 2 ahk into an ahk?
vahju

Replies: 4
Views: 91

PostForum: Ask for Help   Posted: Wed Nov 23, 2011 3:39 am   Subject: How do I combine 2 ahk into an ahk?
You could also do this since both hotkeys are sending the same commands.

F1::
F3::
Sleep, 7
Send {1}
Sleep, 2
Send {2}
Click
Return
  Topic: Alignment Problem
vahju

Replies: 3
Views: 104

PostForum: Ask for Help   Posted: Mon Nov 21, 2011 10:52 pm   Subject: Alignment Problem
If the first part of each line never changes then you can use StringReplace:

F7::
Clipboard :=
Send, ^c
ClipWait
StringReplace, clipboard, clipboard, nlast, nlast%A_Space%%A_S ...
  Topic: Hotkeys acting strangely
vahju

Replies: 8
Views: 166

PostForum: Ask for Help   Posted: Fri Nov 18, 2011 9:17 pm   Subject: Hotkeys acting strangely
Try the below code but it is not tested.

^j::
loop
{
pixelsearch ex, why, 375, 628, 375, 628, 0xA3A3A3
if errorlevel
msgbox This is not the color you were looking for
else
...
  Topic: Wait for Screen latency?
vahju

Replies: 10
Views: 306

PostForum: Ask for Help   Posted: Fri Nov 18, 2011 7:41 pm   Subject: Wait for Screen latency?
Wonder if this [url=http://www.autohotkey.com/forum/viewtopic.php?t=79005]post might help.
  Topic: Wait for Screen latency?
vahju

Replies: 10
Views: 306

PostForum: Ask for Help   Posted: Fri Nov 18, 2011 7:25 pm   Subject: Wait for Screen latency?
Try using [url=http://www.autohotkey.com/docs/commands/SetKeyDelay.htm]SetKeyDelay and or maybe some well placed [url=http://www.autohotkey.com/docs/commands/Sleep.htm]Sleep commands.
  Topic: Add spaces to filenames
vahju

Replies: 8
Views: 143

PostForum: Ask for Help   Posted: Fri Nov 18, 2011 3:33 pm   Subject: Add spaces to filenames
Here is a non regex version.

v1 := "ThisIsTheVarIUsedToTestThisFunction.txt"
v2 :=
Loop , parse, v1
{
if a_loopfield is upper
v2 := v2 . a_space . A_LoopField
e ...
  Topic: read tooltips
vahju

Replies: 8
Views: 188

PostForum: Ask for Help   Posted: Fri Oct 28, 2011 5:29 pm   Subject: read tooltips
Link in previous post was broken but [url=http://www.autohotkey.com/forum/viewtopic.php?t=58023&start=0&postdays=0&postorder=asctext+content+tool+tip+window]here is the lin ...
  Topic: why isnt this uppercase script working?
vahju

Replies: 23
Views: 819

PostForum: Ask for Help   Posted: Fri Oct 28, 2011 5:20 pm   Subject: why isnt this uppercase script working?
GoGo thanks for the modified Title Case script and OP thanks for the idea.
  Topic: Video Tutorial: Install and Hello World
vahju

Replies: 11
Views: 515

PostForum: General Chat   Posted: Fri Oct 28, 2011 2:03 am   Subject: Video Tutorial: Install and Hello World
Do you think a video is needed on the various version of autohotkey?

I know on the download page there is 2 but checking the forms there is H and IronAhk.

Maybe a short vid on what each one if f ...
  Topic: If CLIPBOARD is 9 digits...
vahju

Replies: 4
Views: 154

PostForum: Ask for Help   Posted: Thu Oct 13, 2011 3:42 am   Subject: If CLIPBOARD is 9 digits...
I don't know regex but you could use

If var is interger
If var is alum

And

you could use StringLen verify number of digits.

If you have a whole paragraph in you clipboard then you will ...
  Topic: looking for an ez way to click on links
vahju

Replies: 2
Views: 107

PostForum: Ask for Help   Posted: Tue Oct 11, 2011 4:05 am   Subject: looking for an ez way to click on links
The only thing i can tell you is the mouse cursor will change. Try looking up A_Cursor in the help docs.
 
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