Search found 15 matches

by TravisQ
24 Mar 2019, 14:38
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 328535

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Code: Select all

buffers.zorder.switching=1

# This setting chooses the ordering of buffer switching when Ctrl+Tab pressed.
# Set to 1, the buffers are selected in the order of their previous selection
# otherwise they are chosen based on the buffer number.
by TravisQ
06 Feb 2019, 18:32
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 328535

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Options > Open User properties
add these lines

Code: Select all

file.patterns.ahk=$(ahk.file.extension);$(ahkscriptlet.file.extension);*.lib
lexer.$(file.patterns.ahk)=ahk1
by TravisQ
22 Apr 2017, 15:02
Forum: Ask For Help
Topic: copy file to correct folder
Replies: 2
Views: 364

Re: copy file to correct folder

If your naming convention doesnt change maybe something like this could work for you, FilePattern := A_Desktop "\future shows\*" Loop, Files, %FilePattern% , f { file := A_LoopFileName , filePath := A_LoopFileLongPath RegExMatch( file,"(.+?) (.+?) ", fileData ) Loop, Files, %FilePattern% , d { folde...
by TravisQ
24 Mar 2017, 15:49
Forum: Ask For Help
Topic: XML File input
Replies: 1
Views: 252

Re: XML File input

xml= ( <Machines> <Computer Name="computer1" OS="Windows 7 32-bit" MAC="xxxxxxxxxxxx" Notes="VSCODE" /> <Computer Name="computer2" OS="Windows 7 32-bit" MAC="yyyyyyyyyyyyyy" Notes="NOTEPAD++" /> </Machines> ) name:="computer1" xmlDoc := ComObjCreate("MSXML2.DOMDocument.6.0") xmldoc.loadXML(xml) ;xm...
by TravisQ
22 Mar 2017, 20:21
Forum: Ask For Help
Topic: Dequeue a class via an enumeration loop
Replies: 16
Views: 2797

Re: Dequeue a class via an enumeration loop

have you tried clone() ?

Code: Select all

clone:=uHis.clone()
For k, v in clone {
; ...
	uHis.RemoveAt(k) 
}
by TravisQ
09 Mar 2017, 23:49
Forum: Ask For Help
Topic: Using IE.Document.GetElementsByClassname
Replies: 10
Views: 3768

Re: Using IE.Document.GetElementsByClassname

Added newKey AutoHotKey.exe REG_DWORD 11001 to

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

and both scripts by FG are recognized
by TravisQ
01 Mar 2017, 21:02
Forum: Ask For Help
Topic: Search a CSV File for a Certain String? Topic is solved
Replies: 2
Views: 808

Re: Search a CSV File for a Certain String? Topic is solved

Maybe something like this could work for you

Code: Select all

FileRead,File,%A_Desktop%\test.txt
Results:=[],p:=1
while p := RegExMatch(File, "\d-\d+-\d+-\d", Match, p + StrLen(Match)) {
    Results.push(Match)
}
for k,v in Results
append.=v "`n"
FileAppend,%append%,%A_Desktop%\test2.txt
by TravisQ
23 Feb 2017, 12:25
Forum: Ask For Help
Topic: Loop through info in a file
Replies: 5
Views: 664

Re: Loop through info in a file

Maybe some of these ideas could be usefull SetWorkingDir,%A_ScriptDir% Content= ( acc1 char1 char2 char3 acc2 char21 char22 char23 ) Loop,Parse,Content,`n,`r { RegExMatch(A_LoopField,"([^\s]+)",fword) RegExMatch(A_LoopField,"(?<=\s)(.*)",match) MsgBox,3,,Line %A_Index% is :`n%fword% `n`n`trun or ski...
by TravisQ
22 Feb 2017, 01:12
Forum: Ask For Help
Topic: MsgBox to display pixel color in Hex & RBG
Replies: 3
Views: 1077

Re: MsgBox to display pixel color in Hex & RBG

F1:: ; GetMousePosition and pixel color_Screen CoordMode,Mouse,Screen MouseGetPos,xpos,ypos CoordMode,Pixel,Screen PixelGetColor,bgr,%xpos%,%ypos% PixelGetColor,rgb,%xpos%,%ypos%,rgb rgbDec:=hex2dec(rgb) coords:=xpos "," ypos Msgbox, The cursor is located at x = %xpos% & y = %ypos%. (Join, `nThe co...
by TravisQ
21 Feb 2017, 10:34
Forum: Ask For Help
Topic: Computer info gui (Like BGINFO / RAINMETER) issue
Replies: 3
Views: 651

Re: Computer info gui (Like BGINFO / RAINMETER) issue

Code: Select all

~#D::
SetTimer, DesktopIntegration,-50
return
DesktopIntegration:
WinGetClass, ahk_class, A
If (ahk_class == "WorkerW") and (LastClass != "WorkerW")
	WinActivate, % "ahk_id " . hGadgetGui
LastClass := ahk_class
return
Dont know about show desktop button, but this seemed to do something for winD
by TravisQ
20 Feb 2017, 15:36
Forum: Ask For Help
Topic: Computer info gui (Like BGINFO / RAINMETER) issue
Replies: 3
Views: 651

Re: Computer info gui (Like BGINFO / RAINMETER) issue

Code: Select all

...
Gui, 1: Color, %CustomColor%
Gui, 1: +LastFound +AlwaysOnTop       ;<-------
Gui, 1: font, s11.5 cFFFFFF, Segoe UI
...
by TravisQ
19 Feb 2017, 18:24
Forum: Ask For Help
Topic: how test the radio value from another script ?
Replies: 2
Views: 395

Re: how test the radio value from another script ?

Code: Select all

ControlGet,MaVar,Checked,,button1,MyGui.ahk
MsgBox %MaVar%
by TravisQ
19 Feb 2017, 14:10
Forum: Ask For Help
Topic: merging loopfield variables Topic is solved
Replies: 4
Views: 624

Re: merging loopfield variables Topic is solved

Code: Select all

List=
(
a
b
c
)
Loop, parse, List, `n 
{
    dropdownlist .= A_Loopfield "|" ; Expression Operator
}
StringTrimRight,dropdownlist,dropdownlist,1
MsgBox,% dropdownlist
return
by TravisQ
14 Feb 2017, 21:05
Forum: Ask For Help
Topic: Newbie question
Replies: 2
Views: 442

Re: Newbie question

need another keywait to catch the up

Code: Select all

Down::
	keywait, down, t0.5
	if errorlevel {
		Send,a
		keywait, down
	} else
		Send,{down}
return

Go to advanced search