| Author |
Message |
Topic: IsByRef |
tonne
Replies: 22
Views: 703
|
Forum: Wish List Posted: Mon Jul 25, 2011 2:54 pm Subject: IsByRef |
I don't see any use of getting the name.
I would rather have an IsDefault function which returns true if an optional parameter isn't supplied. |
Topic: about RegExReplace in simplest way |
tonne
Replies: 2
Views: 120
|
Forum: Ask for Help Posted: Tue Jul 05, 2011 6:46 am Subject: about RegExReplace in simplest way |
s := "abcXYZahk"
; remove pattern char-by-char with A_SPACE
MsgBox % SpaceOut(s, "(c|ah)")
; remove pattern char-by-char with -
MsgBox % SpaceOut(s, &qu ... |
Topic: Transfer information from excel file to another program |
tonne
Replies: 13
Views: 330
|
Forum: Ask for Help Posted: Mon Jun 27, 2011 1:25 pm Subject: Transfer information from excel file to another program |
f11::
winactivate,ahk_class XLMAIN ; goto excel (assuming one window)
clipboard = ; clear clipboard
send ^c ; copy to clipboard
clipwait, 1 ; wait for clipboard (max 1 ... |
Topic: Transfer information from excel file to another program |
tonne
Replies: 13
Views: 330
|
Forum: Ask for Help Posted: Mon Jun 27, 2011 12:47 pm Subject: Transfer information from excel file to another program |
The example shows how the read a value and i.e. save it onto the clipboard:
Clipboard := oExcel.Range("A3").Value
You could send some values with
Send % oExcel.Range(&quo ... |
Topic: Condition with variable |
tonne
Replies: 2
Views: 92
|
Forum: Ask for Help Posted: Mon Jun 27, 2011 12:22 pm Subject: Condition with variable |
| If !(FileExist(source . "\*.jpg") && FileExist(output . "\*.jpg")) |
Topic: Transfer information from excel file to another program |
tonne
Replies: 13
Views: 330
|
Forum: Ask for Help Posted: Mon Jun 27, 2011 11:59 am Subject: Transfer information from excel file to another program |
| Maybe using [url=http://www.autohotkey.com/forum/topic61509.html&p=401063#401063]Excel.Application? |
Topic: [AHK_L] Class aggregation/composition? [solved] |
tonne
Replies: 2
Views: 113
|
Forum: Ask for Help Posted: Mon Jun 27, 2011 9:29 am Subject: [AHK_L] Class aggregation/composition? [solved] |
You need a global
class cMy1
{
__New()
{
global cMy2
OutputDebug % "Class 1 start"
This["Memb1"] := "HELLO WORLD& ... |
Topic: Centering text |
tonne
Replies: 2
Views: 120
|
Forum: Ask for Help Posted: Sat Jun 25, 2011 7:49 am Subject: Centering text |
Add green code
Gui, 2: default
Gui, 2: Color, 303030
Gui, 2: +ToolWindow -Caption
Gui, 2: font, s64 w700 C383838, verdana
Gui, 2: Add, Text, w700 center vloading , LOADING
Gu ... |
Topic: #IfWinActive quick question |
tonne
Replies: 5
Views: 278
|
Forum: Ask for Help Posted: Wed Jun 22, 2011 8:59 am Subject: #IfWinActive quick question |
This isn't valid for a multiline hotkey, must start on a new line.
^space:: sendinput uid{tab} |
Topic: Append Clipboard to text file on change |
tonne
Replies: 2
Views: 158
|
Forum: Ask for Help Posted: Sun Jun 19, 2011 5:37 pm Subject: Append Clipboard to text file on change |
#Persistent
OnClipboardChange:
FileAppend, -----`n%clipboard%`n`n, C:\Documents and Settings\username\Desktop\dump.txt
return
|
Topic: Method of determining user log in time |
tonne
Replies: 59
Views: 1670
|
Forum: Ask for Help Posted: Wed Jun 15, 2011 8:52 pm Subject: Method of determining user log in time |
| quser.exe (Windows 7) |
Topic: Increasing progress bar in a loop |
tonne
Replies: 5
Views: 190
|
Forum: Ask for Help Posted: Tue Jun 14, 2011 9:03 am Subject: Increasing progress bar in a loop |
Example from the help file:
Loop, %A_WinDir%\system32\*.*
{
Progress, %a_index%, %a_loopfilename%, Installing..., Draft Installation
Sleep, 50
if a_index = 100
break
... |
Topic: How can I make input box stay on top? |
tonne
Replies: 8
Views: 254
|
Forum: Ask for Help Posted: Thu Jun 09, 2011 11:09 am Subject: How can I make input box stay on top? |
I use this function:
Same parameter order as the InputBox command.
Use GUI 99 as default.
msgbox % ModalInputBox(v, "Test title", "test prompt`nline 2",,600,500,10,10,,10, ... |
Topic: Splitting variables in columns of a CSV File |
tonne
Replies: 18
Views: 288
|
Forum: Ask for Help Posted: Thu Jun 09, 2011 6:55 am Subject: Splitting variables in columns of a CSV File |
1. Open Excel
2. enter 1!{enter}2 ; this will give you a cell with two lines
3. optionally fill other cells
4. save as .csv file (accept all warning)
Et voila, the file is saved containing:
" ... |
Topic: [solved] 10 thousand lines - newbie question |
tonne
Replies: 8
Views: 252
|
Forum: Ask for Help Posted: Thu Jun 09, 2011 6:48 am Subject: [solved] 10 thousand lines - newbie question |
Loop, parse, FileContents, `n, `r
{
IfEqual, X, %A_LoopField%
{
msgbox found it
break
}
} |
| |