Search found 27 matches

by TravisQ
30 Sep 2020, 22:40
Forum: SciTE4AutoHotkey
Topic: SciTE comments options behavior Topic is solved
Replies: 5
Views: 4145

Re: SciTE comments options behavior Topic is solved

Try
Options > Open User properties

ADD

Code: Select all

fold.on.open=1
Hope this works for you.
by TravisQ
24 Jul 2020, 17:09
Forum: Ask for Help (v1)
Topic: Min/Max focused window
Replies: 10
Views: 2779

Re: Min/Max focused window

`:: KeyWait, ``, T1 if errorlevel { currentWindow:="ahk_id " winexist("A") soundbeep KeyWait, `` } else { WinGet minmax, MinMax,% currentWindow switch minmax { case 0 : winminimize,% currentWindow case -1 : winrestore, % currentWindow winactivate,% currentWindow } } return
by TravisQ
21 Jul 2020, 20:31
Forum: Gaming Help (v1)
Topic: Whenever i click on one of my gui buttons it opens all my other ones to so when i click one button it runs all three. Topic is solved
Replies: 2
Views: 2387

Re: Whenever i click on one of my gui buttons it opens all my other ones to so when i click one button it runs all three Topic is solved

your goto labels need returns to stop the code from "falling through, or you could also use a function in this case ;gui________________________________ gui,+AlwaysOnTop gui,color,Black gui, add, text,w480 cRed +center ,_________________________GUI___________________________ gui,add,button,x150 y350...
by TravisQ
12 Jul 2020, 20:44
Forum: Ask for Help (v1)
Topic: Toggle minimize/maximize for Spotify
Replies: 2
Views: 1943

Re: Toggle minimize/maximize for Spotify

I just retooled a lost help script. +/- a few bits. f1:: WinGet minmax, MinMax, AutoHotkey Help switch minmax { case "" : Run, hh.exe C:\SciTE_AHK\AutoHotkey.chm case 0 : if winactive("AutoHotkey Help"){ winminimize, AutoHotkey Help exit } case -1 : winrestore, AutoHotkey Help case 1 : winrestore, A...
by TravisQ
03 Jun 2020, 10:15
Forum: Ask for Help (v1)
Topic: Array example
Replies: 7
Views: 636

Re: Array example

Im hoping for no typos on my part, but i think this works. VintagePresets:=[ {"clean DI":"1065,118"} , {"Combo":"1065,138"} , {"Direct Line EQ":"1065,167"} , {"Driven":"1065,191"} , {"Mid Scoop":"1065,214"} , {"Pure Analog":"1065,244"} , {"Seventies Rock Amp":"1065,264"} , {"Vintage Effects":"1065,2...
by TravisQ
18 Apr 2020, 11:21
Forum: SciTE4AutoHotkey
Topic: sciTE4 menu shortcut keys: how to change or turn off
Replies: 3
Views: 7274

Re: sciTE4 menu shortcut keys: how to change or turn off

C:\Users\ME\Documents\AutoHotkey\SciTE\SciTEUser.properties [rightclick menu] user.context.menu=||\ SaveReload|1100|\ [shortcuts] user.shortcuts=\ F12|1100| [command 0 4-9] # command !1-3 10-14 21-36 / 0 4-9 15-20 37-50 YMMV command.name.0.*=saveReload # command.shortcut.0.*=F12 # or above command.m...
by TravisQ
22 Feb 2020, 15:35
Forum: Ask for Help (v1)
Topic: get files created (modified) between x & y Topic is solved
Replies: 5
Views: 640

Re: get files created (modified) between x & y Topic is solved

perhaps converting to minutes and testing filetime against 6PM yesterday and 6PM today could work. today := yesdy := a_now yesdy += -1, days y6min := substr(yesdy,1,8) 180000 t6min := substr(today,1,8) 180000 y6min -= today,m t6min -= today,m file_times_for_testing: file1:= substr(yesdy,1,8) 170000 ...
by TravisQ
04 Feb 2020, 19:05
Forum: Ask for Help (v1)
Topic: Remove part of URL from Chrome with macro/script
Replies: 4
Views: 952

Re: Remove part of URL from Chrome with macro/script

This is what I came up with, tested on this page. Was having problems with it working every time but seems to be stable now. Might need tweeking. Something here could be useful to add in. Good Luck ^!a:: save:=clipboardall sendinput,^l ; chrome shortcut for selecting address bar clipboard:="" sleep,...
by TravisQ
23 Jan 2020, 13:58
Forum: Ask for Help (v1)
Topic: Combining loopreadline with filecopy into subfolders Topic is solved
Replies: 2
Views: 500

Re: Combining loopreadline with filecopy into subfolders Topic is solved

This might do what your looking for or be close. sourcepath := a_mydocuments "\reports PDFs" destpath := a_mydocuments "\cases" Loop, Read,% sourcepath "\id.txt" { regexmatch(A_LoopReadLine,"(\d+)",num) Loop,Files,% destpath "\*",d { if ( regexmatch(A_LoopFileName,"" SubStr(num,1,2) "\d\d") ) { ; ed...
by TravisQ
21 Jan 2020, 21:55
Forum: Ask for Help (v1)
Topic: Draw multiple rectangles - This is driving me nuts!
Replies: 2
Views: 1060

Re: Draw multiple rectangles - This is driving me nuts!

Not sure, but this might be what you need or at least a start

Code: Select all

			ah := y1Array[j] - y2Array[j]
		Gui, %j%: new
		Gui, %j%:-Caption +ToolWindow +LastFound +AlwaysOnTop
		Gui, %j%:Color, %BC%
		Gui, %j%: Show, NoActivate x%ax% y%ay% w%aw% h%ah%
by TravisQ
05 Jan 2020, 15:42
Forum: Ask for Help (v1)
Topic: Temporary suspend of script during input dialog? Topic is solved
Replies: 10
Views: 1708

Re: Temporary suspend of script during input dialog? Topic is solved

If you are suspending your hotkeys so you can interact with the dialog perhaps you need the visible "v" option enabled.

Code: Select all

~b::
	Suspend, On
	input,_,v,{esc}{enter}
	Suspend, Off
Return
by TravisQ
07 Dec 2019, 17:00
Forum: Ask for Help (v1)
Topic: Where do I find the doc for appending to this? Topic is solved
Replies: 2
Views: 1968

Re: Where do I find the doc for appending to this? Topic is solved

Maybe something here can help #Persistent DetectHiddenWindows, on Menu, Tray, Tip , Some text in a tooltip Menu, Tray, NoStandard Menu, Tray, Add , Open, Open Menu, Tray, Add , Help, Help Menu, Tray, Add Menu, Tray, Add , SusPause, SusPause Menu, Tray, Add Menu, Tray, Add ,exit,exit Return Open: Pos...
by TravisQ
24 Mar 2019, 14:38
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 616505

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: 835
Views: 616505

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 (v1)
Topic: copy file to correct folder
Replies: 2
Views: 805

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 (v1)
Topic: XML File input
Replies: 1
Views: 648

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 (v1)
Topic: Dequeue a class via an enumeration loop
Replies: 16
Views: 5759

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 (v1)
Topic: Using IE.Document.GetElementsByClassname
Replies: 10
Views: 8653

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 (v1)
Topic: Search a CSV File for a Certain String? Topic is solved
Replies: 2
Views: 1476

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

Go to advanced search