| Author |
Message |
Topic: Autohotkey in Windows 7 |
tonne
Replies: 4
Views: 127
|
Forum: Ask for Help Posted: Fri Mar 19, 2010 8:09 am Subject: Autohotkey in Windows 7 |
| lol, I found it on msdn as an option to disable win+x keys. I, naturally, assumed X being a digit. I was wrong! |
Topic: Autohotkey in Windows 7 |
tonne
Replies: 4
Views: 127
|
Forum: Ask for Help Posted: Thu Mar 18, 2010 1:06 pm Subject: Autohotkey in Windows 7 |
The feature can be disable with this registry key:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoWinKeys&quo ... |
Topic: Can't restrict DropDownList to selected option |
tonne
Replies: 2
Views: 84
|
Forum: Ask for Help Posted: Tue Mar 09, 2010 2:16 pm Subject: Can't restrict DropDownList to selected option |
!c::
if (DropDownList = "Alt+C")
{
IfWinExist, Charazay Basketball Manager - Opera
WinActivate
else
Run http://www.charazay.com
return
}
return |
Topic: Disable auto-repeat for all function keys (F1 .. F12) |
tonne
Replies: 1
Views: 76
|
Forum: Ask for Help Posted: Mon Mar 01, 2010 3:13 pm Subject: Disable auto-repeat for all function keys (F1 .. F12) |
; create dynamic hotkey for f1..f3
Loop 3
Hotkey $*f%a_index%, f_all
Return
f_all:
; only send key (and show tooltip) if prior key wasn't the same as this key
if (A_This ... |
Topic: Running psexec.exe [Solved] |
tonne
Replies: 7
Views: 189
|
Forum: Ask for Help Posted: Mon Mar 01, 2010 8:09 am Subject: Running psexec.exe [Solved] |
; no psexec in the variable
varPSExecVariable = \\computername C:\demo.exe
; or
; varPSExecVariable := "\\computername C:\demo.exe"
#x::Run, C:\RemoteTools\pse ... |
Topic: Problem with Run and Process, WaitClose |
tonne
Replies: 2
Views: 133
|
Forum: Ask for Help Posted: Thu Feb 25, 2010 2:57 pm Subject: Problem with Run and Process, WaitClose |
| Example #2 suggest that WaitClose doesn't close and wait - you have to use WinClose (on a window) or Process,Close to make the actual kill and then Process,WaitClose to check whether it did close. |
Topic: Digits String not treated as a number. |
tonne
Replies: 2
Views: 63
|
Forum: Ask for Help Posted: Fri Feb 19, 2010 9:37 am Subject: Digits String not treated as a number. |
Don't use % around variables in expressions (:=):
Bet25 := 2.5 * bb ; This is the multiplicatition. |
Topic: retrieving a text from a file path |
tonne
Replies: 5
Views: 92
|
Forum: Ask for Help Posted: Wed Feb 17, 2010 5:46 pm Subject: retrieving a text from a file path |
path := "C:\Documents and Settings\lostworld\Desktop\xyz.txt"
pos := instr(path,"\", false, 0) ; 0 search backwards
msgbox % substr(path,pos+1) ; +1 ... |
Topic: Dots among numbers |
tonne
Replies: 25
Views: 546
|
Forum: Ask for Help Posted: Mon Jan 25, 2010 4:16 pm Subject: Dots among numbers |
| I use [url=http://www.autohotkey.com/forum/topic32161.html]AHK RegEx SandBox to make my regex'ps |
Topic: Please, explain the workings of #persistent to me |
tonne
Replies: 6
Views: 216
|
Forum: Ask for Help Posted: Mon Jan 18, 2010 2:50 pm Subject: Please, explain the workings of #persistent to me |
The #persistent command force the script to stay in memory in the exact same way your hotkey make it stay in memory.
This is useful in cases where a script contains timers and/or custom menu items bu ... |
Topic: Title case in folder/file name |
tonne
Replies: 4
Views: 142
|
Forum: Ask for Help Posted: Tue Jan 12, 2010 8:55 am Subject: Title case in folder/file name |
| No problems on Windows 7 Ultimate 32 bit. |
Topic: IP Comare |
tonne
Replies: 3
Views: 87
|
Forum: Ask for Help Posted: Mon Jan 11, 2010 3:03 pm Subject: IP Comare |
If doesn't support such syntax, try this:
pattern := "10\d{0,1}.\d{1,3}.\d{1,3}.\d{1,3}"
If (RegExMatch(A_IPAddress1, pattern, match) ... |
Topic: Retrieve value from a variable within a function |
tonne
Replies: 28
Views: 550
|
Forum: Ask for Help Posted: Fri Jan 08, 2010 9:06 am Subject: Retrieve value from a variable within a function |
Using this:
dump(Socket,Txt) {
Global
e_socket := socket, e_txt := txt
e_alltxt .= txt . "`n" ; append txt and newline
;UpdateLog("<<< ... |
Topic: Retrieve value from a variable within a function |
tonne
Replies: 28
Views: 550
|
Forum: Ask for Help Posted: Thu Jan 07, 2010 7:30 pm Subject: Retrieve value from a variable within a function |
The dump function saves the logged line in e_txt. You could add all logs up, as:
dump(Socket,Txt) {
Global
e_socket := socket, e_txt := txt
e_alltxt .= txt . "`n ... |
Topic: Very Small AHK Editing Macro |
tonne
Replies: 2
Views: 658
|
Forum: Scripts & Functions Posted: Wed Jan 06, 2010 3:39 pm Subject: Re: Very Small AHK Editing Macro |
If anyone wanted to run this, they'd have to of course change the path to point to their AHK script.
Use A_ScriptFullPath |
| |