| Author |
Message |
Topic: 110.32 Chording Keyboard Input 1.1.4 Send/Run/GoSub |
Decarlo110
Replies: 16
Views: 6034
|
Forum: Scripts & Functions Posted: Sun Jan 15, 2006 8:40 am Subject: 110.32 Chording Keyboard Input 1.1.4 Send/Run/GoSub |
Here is a version which should work with the numpad:
; For numpad1 + numpad2 + numpad3, use:
1 = Numpad1|Numpad2|Numpad3|.1234567890
; spaces can be used before and/or after the "|" ... |
Topic: 110.22 Ahk script Debugger 1.1.5b (line-by-line capable) |
Decarlo110
Replies: 9
Views: 7465
|
Forum: Scripts & Functions Posted: Sun Jan 15, 2006 8:14 am Subject: 110.22 Ahk script Debugger 1.1.5b (line-by-line capable) |
; v1.1.5
;
; fixed/eliminated indefinite waiting if target script uses dialog windows |
Topic: 110.22 Ahk script Debugger 1.1.5b (line-by-line capable) |
Decarlo110
Replies: 9
Views: 7465
|
Forum: Scripts & Functions Posted: Wed Jan 11, 2006 11:50 pm Subject: 110.22 Ahk script Debugger 1.1.5b (line-by-line capable) |
don't these functionsStringL(in, charsToKeep, charsToTrim="")
InString(a,b)
already exist in AHK? I thought StringMid and InStr() would do the same thing?
You are right ... |
Topic: Quick-Start Tutorial french translation |
Decarlo110
Replies: 16
Views: 3836
|
Forum: General Chat Posted: Wed Jan 11, 2006 10:51 pm Subject: Quick-Start Tutorial french translation |
maybe someone can add an item to his/her to-do list:
hotkey+code for universal language identifier and translator
could be the prototype of something like Star Trek's on-board computer universal tra ... |
Topic: 110.32 Chording Keyboard Input 1.1.4 Send/Run/GoSub |
Decarlo110
Replies: 16
Views: 6034
|
Forum: Scripts & Functions Posted: Tue Jan 10, 2006 5:11 am Subject: 110.32 Chording Keyboard Input 1.1.4 Send/Run/GoSub |
| @chordful: i'm working on this and will try to post the solution for non-single-character-designation keys within a few days. |
Topic: 110.22 Ahk script Debugger 1.1.5b (line-by-line capable) |
Decarlo110
Replies: 9
Views: 7465
|
Forum: Scripts & Functions Posted: Tue Jan 10, 2006 4:46 am Subject: 110.22 Ahk script Debugger 1.1.5b (line-by-line capable) |
Usage:
#!d debugger settings dialog. Generates or reads from .ini file.
F12 Breaks if there is no splashtext-break; useful if no Line# Return is specified.
RCtrl continue from break; hold ... |
Topic: Levenshtein Distance Algorithm |
Decarlo110
Replies: 22
Views: 6635
|
Forum: Scripts & Functions Posted: Tue Jan 10, 2006 1:59 am Subject: Levenshtein Distance Algorithm |
| My previous post on this thread was a result of hasty reading on my part, and insufficient example on the website without any mention of deletion. Laszlo is correct; my previous post should be disreg ... |
Topic: Levenshtein Distance Algorithm |
Decarlo110
Replies: 22
Views: 6635
|
Forum: Scripts & Functions Posted: Mon Jan 09, 2006 6:47 pm Subject: Levenshtein Distance Algorithm |
| i don't know why these type of things get named. I suppose it's for a common terminology rather than an intellectual claim. Same thing for the "Boolean" term and "Venn" diagrams. ... |
Topic: 110.32 Chording Keyboard Input 1.1.4 Send/Run/GoSub |
Decarlo110
Replies: 16
Views: 6034
|
Forum: Scripts & Functions Posted: Fri Jan 06, 2006 9:22 pm Subject: 110.32 Chording Keyboard Input 1.1.4 Send/Run/GoSub |
pressing 123 gets me the sent 1234567890 keystrokes, but pressing the 123 using the numeric pad doesn't work.
This is because the use of the GetKS() function is hard-coded to read from the keys list, ... |
Topic: string matching |
Decarlo110
Replies: 11
Views: 900
|
Forum: Ask for Help Posted: Fri Jan 06, 2006 8:47 pm Subject: string matching |
num := 4
if TempLines2 = TempLines%num%
The above code will compare the variable TempLines2 with the string "TempLines4".
The following will compare variable TempLines2 with the va ... |
Topic: FileMove Script |
Decarlo110
Replies: 16
Views: 1975
|
Forum: Ask for Help Posted: Fri Jan 06, 2006 5:13 pm Subject: FileMove Script |
Which variable have I to use that the file extion isn't included
There is no built-in variable for that, but you could use:
StringTrimRight, var_trimmed, A_LoopFileFullPath, 4 |
Topic: Run Notepad / On Top / but not steal focus |
Decarlo110
Replies: 4
Views: 858
|
Forum: Ask for Help Posted: Fri Jan 06, 2006 5:07 pm Subject: Run Notepad / On Top / but not steal focus |
The code i gave works also, it was just missing the following line at the top:
DetectHiddenWindows on
i occasionally forget script settings when posting since i have the habit of letting my auto-exe ... |
Topic: Stopping popups mid script |
Decarlo110
Replies: 2
Views: 777
|
Forum: Ask for Help Posted: Fri Jan 06, 2006 3:42 pm Subject: Stopping popups mid script |
In your popup-close timer, perhaps use ControlSend or WinClose specifying a parameter, instead of something like Send !{F4}, or use ControlClick, instead of using MouseClick.
EDIT: Same for the main ... |
Topic: String Manipulation |
Decarlo110
Replies: 3
Views: 1018
|
Forum: Ask for Help Posted: Fri Jan 06, 2006 3:30 pm Subject: String Manipulation |
how do I remove the last extension from the end?
Presuming the extension is 3 chars long plus the dot, you could use:
StringTrimRight, A_LoopFileName_Trimmed, A_LoopFileName, 4
The String manipul ... |
Topic: Bingo |
Decarlo110
Replies: 12
Views: 1107
|
Forum: Ask for Help Posted: Fri Jan 06, 2006 2:59 pm Subject: Bingo |
I want that when 5 variables are the same, it says: bingo
Something like this?
if(var1=X AND var2=X AND var3=X AND var4=X AND var5=X)
Send Bingo!{enter}
Change the second line to
MsgBox ... |
| |