Search found 854 matches
- 22 Feb 2022, 00:23
- Forum: Ask for Help (v1)
- Topic: Ignore portion of text in line of code
- Replies: 5
- Views: 892
Re: Ignore portion of text in line of code
thanks again guys, I'm liking the 'goto' options. It works just fine. And also just duplicating the entire line and just using the semicolon to comment out the first line (which is the approach I normally use). I guess I was just curious to actually see if a word (or set of characters) in the middle...
- 21 Feb 2022, 02:09
- Forum: Ask for Help (v1)
- Topic: Ignore portion of text in line of code
- Replies: 5
- Views: 892
Re: Ignore portion of text in line of code
hi thanks BoBo it works, but I'm not sure how it's working. I see the % sign there but not sure how it is impacting it Maybe if I show this line: Gui, 1: Add, ListView, backgroundc0033cc cffffff x%listview_xpos% y%listview_ypos% w%listview_width% h%listview_height% AltSubmit gLISTVIEW_IMAGES vLISTVI...
- 21 Feb 2022, 00:24
- Forum: Ask for Help (v1)
- Topic: Ignore portion of text in line of code
- Replies: 5
- Views: 892
Ignore portion of text in line of code
Rookie question here it seems- but I honestly can't find the answer to this: I know how to ignore several lines of code all at once using the /* and */ character combos, but is there a way to ignore a section of text inside a line? For example: Gui, 1: Add, Text, y1 x10, *IGNORE THIS PART* This Is M...
- 13 Feb 2022, 16:45
- Forum: Ask for Help (v1)
- Topic: Get contents of both edit controls?
- Replies: 4
- Views: 358
Re: Get contents of both edit controls?
I'm going to incorporate your method into my script, looks like it's helping. If I have any more questions about this I'll post back, thanks
- 13 Feb 2022, 15:58
- Forum: Ask for Help (v1)
- Topic: Get contents of both edit controls?
- Replies: 4
- Views: 358
Re: Get contents of both edit controls?
Awesome. I'll have to study this to see how you did it. It's perfect, looks like I was over-complicating it. Didn't know it was this simple. Thanks mikeyww
- 13 Feb 2022, 03:07
- Forum: Ask for Help (v1)
- Topic: Get contents of both edit controls?
- Replies: 4
- Views: 358
Get contents of both edit controls?
Hi there, been a while since I've asked any questions, but I do have a question now: I have a GUI with 2 edit controls. The first edit control has 'drag n' drop' a file enabled on it. So basically, a file can be dragged from a folder and into the first edit control. So first, I would drag and drop a...
- 07 Feb 2022, 05:00
- Forum: Ask for Help (v1)
- Topic: Need to match txt files
- Replies: 24
- Views: 1555
Re: Need to match txt files
I don't know if this will help in any way or not, but here's a few little snippets that might help you extract what is before and after the : in each line of data: This gets what is before the : inputVar:="WindowsProductName : Windows 10 Home" inputVar:= SubStr(inputVar,1,InStr(inputVar, ":")-1) Msg...
- 05 Feb 2022, 14:52
- Forum: Ask for Help (v1)
- Topic: gLabel on Mouse Over Topic is solved
- Replies: 10
- Views: 783
Re: gLabel on Mouse Over Topic is solved
ok, it works. this is going to be super useful, thanks for this
- 05 Feb 2022, 14:09
- Forum: Ask for Help (v1)
- Topic: gLabel on Mouse Over Topic is solved
- Replies: 10
- Views: 783
Re: gLabel on Mouse Over Topic is solved
I'm really liking this one. I just have one more question if I may: is there a way to hover on top of/grab+drag the title bar without the functions triggering? So in other words the cursor would need to be inside the gui for everything to work but when the cursor is ontop of the title bar nothing wo...
- 05 Feb 2022, 02:38
- Forum: Ask for Help (v1)
- Topic: gLabel on Mouse Over Topic is solved
- Replies: 10
- Views: 783
Re: gLabel on Mouse Over Topic is solved
This script will scroll a Google Chrome window when the cursor is ontop of the GUI but the difference is that it uses a timer. Still works nicely though. Perhaps someone might have a use for it. Gui 1: +HwndIdTest +AlwaysOnTop +ToolWindow -dpiScale Gui 1: Show, x200 y200 w300 h300, TEST SetTimer, on...
- 05 Feb 2022, 02:10
- Forum: Ask for Help (v1)
- Topic: gLabel on Mouse Over Topic is solved
- Replies: 10
- Views: 783
Re: gLabel on Mouse Over Topic is solved
This is really nice. It reminds me of another script I have tucked away that will scroll a Google Chrome window when the cursor is inside of the GUI: #NoEnv #SingleInstance Force Critical OnMessage(0x200, "onMouseMove") Gui, +AlwaysOnTop Gui, Show, w225 h75 Return GuiClose: ExitApp onMouseMove(wPara...
- 04 Feb 2022, 01:22
- Forum: Ask for Help (v1)
- Topic: gLabel on Mouse Over Topic is solved
- Replies: 10
- Views: 783
Re: gLabel on Mouse Over Topic is solved
Possibly an improvement: Global hWnd Gui, +HwndhWnd Gui, Add, Text, w250 h50, GUI Gui, Show hoverTrigger() overGUI(wParam, lParam) { hoverTrigger(False) ToolTip, In! SoundBeep, 1500 SetTimer, Check, 200 Return Check: CoordMode, Mouse WinGetPos, x1, y1, width, height, ahk_id %hWnd% x2 := x1 + width,...
- 01 Feb 2022, 23:43
- Forum: Ask for Help (v1)
- Topic: Prevent GUI from stealing focus Topic is solved
- Replies: 11
- Views: 1912
Re: Prevent GUI from stealing focus Topic is solved
Try adding this line to the top of your script: gui, 99: +E0x08000000 ...and then change this line: gui, 99: show, w250 h250 ..to this: gui, 99: show, w250 h250 NoActivate My understanding is that this will cause the gui to never activate, therefore it won't steal focus. Out of curiosity, does it he...
- 30 Jan 2022, 00:37
- Forum: Ask for Help (v1)
- Topic: Can I color a Tooltip and Msgbox? Topic is solved
- Replies: 7
- Views: 1669
Re: Can I color a Tooltip and Msgbox? Topic is solved
found this script from Lexikos. z:: ToolTipColor("Red", "Yellow") Tooltip, This Is A Colored Tooltip sleep, 2000 Tooltip, Return ; ToolTipOpt v1.004 ; Changes: ; v1.001 - Pass "Default" to restore a setting to default ; v1.002 - ANSI compatibility ; v1.003 - Added workarounds for ToolTip's parameter...
- 23 Jan 2022, 05:37
- Forum: Ask for Help (v1)
- Topic: Listview Add Buttons problem?
- Replies: 5
- Views: 314
Re: Listview Add Buttons problem?
no worries haha.
But this is an issue I really can't figure out... maybe someone with Win7 might be able to chime in at some point. Cheers
But this is an issue I really can't figure out... maybe someone with Win7 might be able to chime in at some point. Cheers
- 23 Jan 2022, 05:32
- Forum: Ask for Help (v1)
- Topic: Listview Add Buttons problem?
- Replies: 5
- Views: 314
Re: Listview Add Buttons problem?
Man, this is odd. The top script posted above causes a problem on my end, but the bottom script acts normally. If I run the top script, this is the sequence that causes the problem: -Run the script -Hover the cursor into an empty space in scrollbar column - and now the 'up' and 'down' arrows should ...
- 23 Jan 2022, 05:17
- Forum: Ask for Help (v1)
- Topic: Listview Add Buttons problem?
- Replies: 5
- Views: 314
Re: Listview Add Buttons problem?
Hmm. Strange. I even closed all other scripts and I'm still getting this problem.
I'm on Win7 64 bit. I'm wondering if that might be an issue.
I'm on Win7 64 bit. I'm wondering if that might be an issue.
- 23 Jan 2022, 04:55
- Forum: Ask for Help (v1)
- Topic: Listview Add Buttons problem?
- Replies: 5
- Views: 314
Listview Add Buttons problem?
Greetings to all on this fine late night So I've come across this problem. With the script immediately below, the listview scrolls endlessly if you click on the empty space below or above the scrollbar. So for example, try the following: -Run the script -Don't press any buttons or do anything- just ...
- 08 Jan 2022, 15:32
- Forum: Ask for Help (v1)
- Topic: MouseMove to scroll page? Topic is solved
- Replies: 9
- Views: 2646
Re: MouseMove to scroll page? Topic is solved
Sorry, my mistake. For some reason I thought this was about navigating through a webpage like Chrome, etc.
- 08 Jan 2022, 00:02
- Forum: Ask for Help (v1)
- Topic: MouseMove to scroll page? Topic is solved
- Replies: 9
- Views: 2646
Re: MouseMove to scroll page? Topic is solved
just tap the 'up' and 'down' keys, no?