Search found 862 matches

by scriptor2016
27 Feb 2022, 18:35
Forum: Ask for Help (v1)
Topic: Hide filepath in listview
Replies: 3
Views: 278

Re: Hide filepath in listview

hmmmmm, thank-you. I'll take a look at this approach :)
by scriptor2016
27 Feb 2022, 17:32
Forum: Ask for Help (v1)
Topic: Hide filepath in listview
Replies: 3
Views: 278

Re: Hide filepath in listview

Actually I think I found a better workaround: create 2 columns, the first one has the Folder5 displayed in it, and the second column has the full path. When clicked on in the listview, it gets the text from the second column and then performs the action. This is actually much better. The problem now...
by scriptor2016
27 Feb 2022, 16:13
Forum: Ask for Help (v1)
Topic: Hide filepath in listview
Replies: 3
Views: 278

Hide filepath in listview

I'm loading several folders into a listview. Some of these folder locations are deep. For example: c:\Folder1\Folder2\Folder3\Folder4\Folder5 What I was hoping to do is when it's loaded into the listview, just have it show the last folder in the string (in this case, Folder5). The reason is because ...
by scriptor2016
26 Feb 2022, 22:37
Forum: Ask for Help (v1)
Topic: Drop Chrome URL Onto GUI
Replies: 8
Views: 824

Re: Drop Chrome URL Onto GUI

Alright, I tried out the code you posted and it will be perfect to add to the GUI I'm working on. I've had acc on my hard drive for years now, good thing. Instead of the hotkey though, I'm thinking I'll create a button to do the work. So now I have a drag n' drop feature and the code you posted whic...
by scriptor2016
26 Feb 2022, 22:20
Forum: Ask for Help (v1)
Topic: Drop Chrome URL Onto GUI
Replies: 8
Views: 824

Re: Drop Chrome URL Onto GUI

ok, great. I'm going to take a look at everything here and see what options might work best, thanks for your time as usual :)
by scriptor2016
26 Feb 2022, 21:29
Forum: Ask for Help (v1)
Topic: Drop Chrome URL Onto GUI
Replies: 8
Views: 824

Re: Drop Chrome URL Onto GUI

Thanks Mikey, I'll try that out in a few seconds. Meanwhile, I put together this code for a drag n' drop option. I think it will misfire under certain circumstances, though. But I think every single URL text will contain at least one . so I'm hoping it might be reliable. However, I'm guessing it mig...
by scriptor2016
26 Feb 2022, 19:00
Forum: Ask for Help (v1)
Topic: Drop Chrome URL Onto GUI
Replies: 8
Views: 824

Re: Drop Chrome URL Onto GUI

thanks, this will be helpful I've built a GUI that allows files to be dropped on it, and then it writes that file to a .txt file for future use. I was hoping to be able to do the same with a URL in Chrome- place the cursor over the URL bar, click down and drag it ontop of the GUI so it will write th...
by scriptor2016
26 Feb 2022, 15:57
Forum: Ask for Help (v1)
Topic: Drop Chrome URL Onto GUI
Replies: 8
Views: 824

Drop Chrome URL Onto GUI

Hi everybody :) After learning about how to drop files onto an AHK GUI, I was wondering if it can be done with a URL in Google Chrome. For instance, highlighting the text in the URL bar, and then drag it into the GUI. It works when dragging and dropping it onto another Chrome browser window, but so ...
by scriptor2016
22 Feb 2022, 00:23
Forum: Ask for Help (v1)
Topic: Ignore portion of text in line of code
Replies: 5
Views: 908

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...
by scriptor2016
21 Feb 2022, 02:09
Forum: Ask for Help (v1)
Topic: Ignore portion of text in line of code
Replies: 5
Views: 908

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...
by scriptor2016
21 Feb 2022, 00:24
Forum: Ask for Help (v1)
Topic: Ignore portion of text in line of code
Replies: 5
Views: 908

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...
by scriptor2016
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
by scriptor2016
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
by scriptor2016
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...
by scriptor2016
07 Feb 2022, 05:00
Forum: Ask for Help (v1)
Topic: Need to match txt files
Replies: 24
Views: 1556

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...
by scriptor2016
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 :)
by scriptor2016
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...
by scriptor2016
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...
by scriptor2016
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...
by scriptor2016
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,...

Go to advanced search