Search found 5213 matches

by boiler
Today, 15:56
Forum: Ask For Help
Topic: Listview - text from two columns
Replies: 11
Views: 3211

Re: Listview - text from two columns

Gui,Add,ListView,r20 w300 +Grid gComm, Nb| Command | Parameters | Description Loop,Read,Command.txt { StringSplit, var_,A_LoopReadLine,%A_TAB% LV_Add("",var_1,var_2,var_3,var_4) } Gui,Show Return GuiClose: ExitApp Comm: if A_GuiEvent = DoubleClick { LV_GetText(RowText, A_EventInfo, 1) LV_GetText(Ro...
by boiler
Today, 15:52
Forum: Ask For Help
Topic: Overriding Tab while keeping the tab to next field funtion.
Replies: 3
Views: 1248

Re: Overriding Tab while keeping the tab to next field funtion.

jlrvfx wrote:
Today, 15:28
I think maybe the compromise might be to detect the difference between a tap of the tab key to keep the original function and a hold to send the right click message and open the menu.
Try this:

Code: Select all

$Tab::
	KeyWait, Tab, T0.5
	if ErrorLevel
		Click, Right
	else
		Send, {Tab}
return
by boiler
Today, 15:08
Forum: Ask For Help
Topic: Overriding Tab while keeping the tab to next field funtion.
Replies: 3
Views: 1248

Re: Overriding Tab while keeping the tab to next field funtion.

Use the ~ hotkey modifier to keep a hotkey’s native function:

Code: Select all

~Tab::Click, right
by boiler
Today, 14:04
Forum: Gaming
Topic: Requesting a script that binds keys
Replies: 2
Views: 805

Re: Requesting a script that binds keys

Code: Select all

x::7
See remapping keys.

Btw, this should be posted in Ask For Help. This section is for posting completed scripts to be shared with others, not for asking about how to create scripts.
by boiler
Today, 13:58
Forum: Ask For Help
Topic: Use FileExist() to find file on user's desktop Topic is solved
Replies: 2
Views: 659

Re: Use FileExist() to find file on user's desktop Topic is solved

Code: Select all

if InStr(FileExist(A_Desktop "\myFolder"), "D")
Edit: Too slow
by boiler
Today, 11:38
Forum: Ask For Help
Topic: Words in quotes using AHK
Replies: 9
Views: 1897

Re: Words in quotes using AHK

I see you're running it with another script running, even the second time. The other script is some kind of auto copy to clipboard script. That could very well be interfering with it. Can you try running only this script with no other script running? And if the other script is something you can't do...
by boiler
Today, 11:19
Forum: Ask For Help
Topic: Words in quotes using AHK
Replies: 9
Views: 1897

Re: Words in quotes using AHK

Thank you for making the video. I did notice one thing. In the latest version with the two Sleep, 100 lines, there is a bit of a delay that is short but perceptible when I run it. Your video showed that it acted immediately even though incorrectly. That made me think that perhaps you just saved chan...
by boiler
Today, 10:49
Forum: Ask For Help
Topic: AHK Excel Range Error: 0x800A03EC Topic is solved
Replies: 2
Views: 421

Re: AHK Excel Range Error: 0x800A03EC Topic is solved

You define your object using ComObjCreate and then you overwrite it with ComObjActive. Only use the latter to connect to an Excel workbook you already had open when you ran the script. You should get rid of the ComObjActive line if you want to use the file you opened. You definitely shouldn’t have b...
by boiler
Today, 09:53
Forum: Ask For Help
Topic: Words in quotes using AHK
Replies: 9
Views: 1897

Re: Words in quotes using AHK

What I posted works for me, but see if this helps on your system:

Code: Select all

^j::
	Send, ^c
	ClipWait, 1
	Send, "
	Sleep, 100
	Send, ^v
	Sleep, 100
	Send, "
Return
by boiler
Today, 09:50
Forum: Ask For Help
Topic: Words in quotes using AHK
Replies: 9
Views: 1897

Re: Words in quotes using AHK

Did you do what I said and make sure you’re not highlighting the space that follows the word?
by boiler
Today, 09:15
Forum: Ask For Help
Topic: Words in quotes using AHK
Replies: 9
Views: 1897

Re: Words in quotes using AHK

Hi. Try this. Make sure to only select the word, not the space that follows the word like can happen when you double-click on it.

Code: Select all

^j::
	Send, ^c
	ClipWait, 1
	Send, "^v"
Return
by boiler
Today, 09:01
Forum: Ask For Help
Topic: Restoring the program window from the tray - script doesn't always work
Replies: 1
Views: 462

Re: Restoring the program window from the tray - script doesn't always work

WinShow is for making hidden windows visible again. A minimized window is not what Windows refers to as a hidden window. Use WinRestore to un-minimize a window:

Code: Select all

#IfWinNotActive ahk_exe mirc.exe
+`::
     KeyWait, ``
     WinRestore ahk_exe mirc.exe
     WinActivate ahk_exe mirc.exe
return
by boiler
Today, 08:52
Forum: Ask For Help
Topic: problems with ifwinexist - closed brackets in wrong place?
Replies: 1
Views: 414

Re: problems with ifwinexist - closed brackets in wrong place?

Hi. Is the exact title of the window how you have shown it including capitalization? If not, change it to be exactly the same because it’s case sensitive. Whether or not that is the problem, when you have some of the code that is to execute either way, rather than repeating it in both the if block a...
by boiler
Today, 06:06
Forum: Ask For Help
Topic: Change credentials in github desktop
Replies: 5
Views: 1499

Re: Changed credentials in github desktop

I’ve seen this several times. Please post in English in the English sections of the forums even if you’re directing your comments to a German speaker. The forums are meant for everyone to be able to learn from, not just the OP. Thanks.
by boiler
Today, 06:02
Forum: Ask For Help
Topic: IniRead Hotkeys Topic is solved
Replies: 4
Views: 1849

Re: IniRead Hotkeys Topic is solved

Did you see the comment where you’re supposed to replace the last MsgBox with Hotkey?
by boiler
Today, 05:56
Forum: Ask For Help
Topic: Insert custom text Topic is solved
Replies: 8
Views: 3178

Re: Insert custom text Topic is solved

Glad it’s working. Maybe you missed where I said this:
boiler wrote:
06 Jul 2020, 07:11
Try running the script as administrator by right-clicking on the file in File Explorer and selecting “Run as administrator.”
by boiler
Today, 05:52
Forum: Ask For Help
Topic: Listview - text from two columns
Replies: 11
Views: 3211

Re: Listview - text from two columns

OK. Btw, you don’t need the ( ) around Var1 in the StrReplace parameter.
by boiler
Today, 05:48
Forum: Ask For Help
Topic: ImageSearch problem W10
Replies: 7
Views: 2833

Re: ImageSearch problem W10

Did you notice Xtra's change to the code blocks? With your original code, it never gets past the first two lines because that causes an infinite loop on just this: while(pageLoaded = false) sleep 500 The way you had it, the while only applies to the sleep line, and since pageLoaded is false and doe...
by boiler
Yesterday, 22:48
Forum: Ask For Help
Topic: Append to Excel tab Topic is solved
Replies: 17
Views: 4828

Re: Append to Excel tab Topic is solved

That’s not how it works here. It understands the path even with spaces. Not only are quotes not needed, they can’t be part of the actual string. It would not work. It’s not like in a CMD window where they’re optional and are needed if there are spaces. The quotes in the assignment that I showed aren...
by boiler
Yesterday, 22:18
Forum: Ask For Help
Topic: Append to Excel tab Topic is solved
Replies: 17
Views: 4828

Re: Append to Excel tab Topic is solved

Code: Select all

filepath := "C:\Users\user\Desktop\test.xls"
WB := XL.Workbooks.Open(filepath)

Go to advanced search