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 142 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Edit control not redrawing upon gaining focus.
Xander

Replies: 4
Views: 511

PostForum: Bug Reports   Posted: Tue Nov 13, 2007 8:53 pm   Subject: Edit control not redrawing upon gaining focus.
Your example works for me as well (it draws correctly). I've been able to narrow it down a bit further.. the edit control must be part of a tab control to reproduce this. Adding a tab control to your ...
  Topic: Run script when file added to a directory
Xander

Replies: 5
Views: 249

PostForum: Ask for Help   Posted: Tue Nov 13, 2007 6:48 pm   Subject: Run script when file added to a directory
I don't know if there is a way to be notified when a file is added to a directory, but you could create your own monitoring of the directory.
#NoEnv
PreviousFiles := GetFiles()
SetTimer ...
  Topic: `n not working properly when outputting to ini
Xander

Replies: 4
Views: 158

PostForum: Ask for Help   Posted: Tue Nov 13, 2007 6:40 pm   Subject: `n not working properly when outputting to ini
You can try to insert
timelog = %timelog%
before writing it to the other file. I believe that trims off any whitespace.
  Topic: Mouse to Key
Xander

Replies: 10
Views: 328

PostForum: Ask for Help   Posted: Tue Nov 13, 2007 6:33 pm   Subject: Mouse to Key
So I don't mind if the mouse to move the gamepads d pad or the keyboards d pad, but the keyboard would be more intresting as it could be used for other things,
Did you get it working?

If not here ...
  Topic: Mouse to Key
Xander

Replies: 10
Views: 328

PostForum: Ask for Help   Posted: Mon Nov 12, 2007 12:21 am   Subject: Mouse to Key
Ahh, is the mouse not suppose to move or is that not important? You'd probably have to poll for the mouse position every 10-50 ms depending on the response tolerance you require.

Probably would be ...
  Topic: Mouse to Key
Xander

Replies: 10
Views: 328

PostForum: Ask for Help   Posted: Mon Nov 12, 2007 12:03 am   Subject: Mouse to Key
Yes.

Left:: MouseMove, -1, 0, , R
Should do the job.
  Topic: blank return when should be true (1) or false (0)
Xander

Replies: 3
Views: 294

PostForum: Ask for Help   Posted: Sun Nov 11, 2007 11:58 pm   Subject: blank return when should be true (1) or false (0)
The syntax error is in here:
Display_PixelSearch(x, y - (findText ? (h - 2) * 2), w, 1, 0xFFFFFF, 0, c)
Not the isPixel bit in the Display_PixelSearch function.
  Topic: Difference between AHK regex tester 2.1 and AHK
Xander

Replies: 2
Views: 114

PostForum: Ask for Help   Posted: Sun Nov 11, 2007 7:30 pm   Subject: Difference between AHK regex tester 2.1 and AHK
Huh?

haystack := " 75 98 "
pattern := "\b[0-9]+\b"
RegExMatch(haystack, pattern, match)
MsgBox, % match

Shows 75
  Topic: Using Regex substring in function, is it possible?
Xander

Replies: 5
Views: 208

PostForum: Ask for Help   Posted: Sun Nov 11, 2007 7:26 pm   Subject: Using Regex substring in function, is it possible?
Give an example haystack and what you want to find. What you want is not clear.

Do you want to find "123" in something that looks like: "\tabc123\t" ?

If so, just use " ...
  Topic: blank return when should be true (1) or false (0)
Xander

Replies: 3
Views: 294

PostForum: Ask for Help   Posted: Sun Nov 11, 2007 3:30 pm   Subject: blank return when should be true (1) or false (0)
Here are the executed lines in question:
145: println("light:" . Display_PixelSearch(x, y, w, 2*h, "LightForeground", 0, c))
063: Display_GetContext ...
  Topic: blank return when should be true (1) or false (0)
Xander

Replies: 3
Views: 294

PostForum: Ask for Help   Posted: Sun Nov 11, 2007 3:19 pm   Subject: blank return when should be true (1) or false (0)
The following function always returns 1 or 0:

/* Usage:
* Searches for the specifed color in the given rectangle of a window capture created from Display_CreateWindowCapture
* Parameter ...
  Topic: Variables in functions - Dont know how to solve this
Xander

Replies: 2
Views: 168

PostForum: Ask for Help   Posted: Fri Nov 09, 2007 2:04 am   Subject: Re: Variables in functions - Dont know how to solve this
I have split up a lot of code in a number of functions. There is one mother function and several child functions. I want all the variables to be accessible to all functions in this cluster, but I want ...
  Topic: do command at a specific time ?
Xander

Replies: 3
Views: 220

PostForum: Ask for Help   Posted: Mon Nov 05, 2007 12:14 am   Subject: do command at a specific time ?
You can use SetTimer... from the documentation:
A timer's period can be no larger than 4294967295 milliseconds (49.7 days).
8 hours << 49.7 days
  Topic: Open Function Declaration (Notepad++)
Xander

Replies: 4
Views: 1842

PostForum: Scripts & Functions   Posted: Sun Nov 04, 2007 11:47 pm   Subject: Open Function Declaration (Notepad++)
The function/command list compiled by dieom (I believe) is used.That appears to be a subset of the function/command list in AutoHotkey\Extras\Editors\Notepad++\AHK Autohotkey.api (part of the AHK inst ...
  Topic: Open Function Declaration (Notepad++)
Xander

Replies: 4
Views: 1842

PostForum: Scripts & Functions   Posted: Sun Nov 04, 2007 4:42 am   Subject: Open Function Declaration (Notepad++)
Added a little more sophistication but it is still only for Notepad++

Ctrl+D to go to the function declaration of the function at the current caret position.

Ctrl+P to list as a tooltip all the ...
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group