Search found 1446 matches

by TheDewd
15 Nov 2020, 21:58
Forum: Ask For Help
Topic: Categorize YouTube Channel List
Replies: 19
Views: 664

Re: Categorize YouTube Channel List

Here's an attempt at including tags... #SingleInstance, Force Menu, LoadMenu, Add, &File..., MenuHandler Menu, LoadMenu, Add, &Clipboard, MenuHandler Gui, Margin, 10, 10 Gui, Add, Button, xm ym w90 h24 gButtonHandler, &Load Source... Gui, Add, Button, x+10 yp w90 h24 HWNDhGetTags gButtonHandler Disa...
by TheDewd
15 Nov 2020, 20:18
Forum: Ask For Help
Topic: File Tree from Text
Replies: 4
Views: 152

Re: File Tree from Text

I mean to say that, aside from AHK itself, I'm not certain what rule you even intend to apply in parsing your tree information, because your intended output shows inconsistencies. I don't know either, haha. I think I was just working on it too much and have confused myself. I guess it's fine as-is.
by TheDewd
15 Nov 2020, 19:24
Forum: Ask For Help
Topic: Categorize YouTube Channel List
Replies: 19
Views: 664

Re: Categorize YouTube Channel List

Here's an example to get Tags. I'll see if I can add additional parsing to the original script. #SingleInstance, Force HttpReq := ComObjCreate("WinHttp.WinHttpRequest.5.1") HttpReq.Open("GET", "https://m.youtube.com/user/30by40/about", True) HttpReq.Send() HttpReq.WaitForResponse() PatJSON := "{""re...
by TheDewd
15 Nov 2020, 19:02
Forum: Ask For Help
Topic: File Tree from Text
Replies: 4
Views: 152

Re: File Tree from Text

@mikeyww,

It is rather difficult, which I suppose is one reason it's not been done successfully yet with AutoHotkey. Thanks for trying -- I spent a very long time trying to figure it out with no success.
by TheDewd
15 Nov 2020, 13:19
Forum: Ask For Help
Topic: Categorize YouTube Channel List
Replies: 19
Views: 664

Re: Categorize YouTube Channel List

@BoBo,

My mistake! Please try again. I fixed the script.

The buttons were not functioning because I forgot to include the "&" character for "&YouTube" and "&Parse" in the ButtonHandler() function.

It should work now. Let me know if you have success this next time. :-)
by TheDewd
15 Nov 2020, 12:24
Forum: Ask For Help
Topic: File Tree from Text
Replies: 4
Views: 152

File Tree from Text

I was inspired by the following post (https://www.autohotkey.com/boards/viewtopic.php?f=76&t=82679) to try making a script to convert text file paths to a file tree. I think I'm very close to having a working solution, however I'm having difficulty with parent/child directory recursing. The example ...
by TheDewd
14 Nov 2020, 18:58
Forum: Ask For Help
Topic: Categorize YouTube Channel List
Replies: 19
Views: 664

Re: Categorize YouTube Channel List

I have over 800 subscriptions, and I've noticed that https://www.youtube.com/feed/channels does not contain all of my subscriptions in the source code. The webpage dynamically loads the subscription list as you scroll down, however the source code never contains the entire subscription list from my ...
by TheDewd
14 Nov 2020, 17:16
Forum: Scripts and Functions
Topic: Google Autocorrect "Did you mean:"
Replies: 4
Views: 257

Re: Google Autocorrect "Did you mean:"

Here's my attempt at making the "Did you mean?" script simpler. MsgBox, % GoogleAutoCorrect("Helllo Worlpd") GoogleAutoCorrect(Word) { ReqURL := "https://www.google.com/search?q=" Word objReq := ComObjCreate("WinHttp.WinHttpRequest.5.1") objReq.Open("GET", ReqURL) objReq.SetRequestHeader("User-Agent...
by TheDewd
10 Nov 2020, 09:56
Forum: Suggestions on documentation improvements
Topic: Add word 'header' to ListView Hdr paragraph, to make that option easier to find with search
Replies: 2
Views: 266

Re: Add word 'header' to ListView Hdr paragraph, to make that option easier to find with search

I created a pull request on your behalf. No guarantee it will be added though.

https://github.com/Lexikos/AutoHotkey_L-Docs/pull/456

FYI: You can request changes from the documentation github.
by TheDewd
09 Nov 2020, 17:19
Forum: Ask For Help
Topic: Getting SID, renaming all names associated with ahk Topic is solved
Replies: 2
Views: 101

Re: Getting SID, renaming all names associated with ahk Topic is solved

Is it possible to get the SID in the code not through the registry? ; autohotkey.com/board/topic/73256-solvedwhy-executing-the-method-of-wmi-is-failure/?p=465005 strComputer := "." strNamespace := "\root\cimv2" strClass := "Win32_Process" strHandle := DllCall("GetCurrentProcessId") objSWbemServices...
by TheDewd
09 Nov 2020, 16:41
Forum: Scripts and Functions
Topic: [Script] Generate random values that are statistically distributed on a nonlinear curve.
Replies: 4
Views: 260

Re: [Script] Generate random values that are statistically distributed on a nonlinear curve.

Would you mind describing the usefulness of this? I'm not an expert at math or complex equations, and I would really like to understand what this function does.

Thank you! :-)

FYI: You can also write PI as pi := 4 * ATan(1) to get 3.141593
by TheDewd
30 Oct 2020, 13:06
Forum: Ask For Help
Topic: Creating a File Tree from a String
Replies: 1
Views: 146

Re: Creating a File Tree from a String

I couldn't figure out how to do it, but I'm very curious as well! Here's one way to do it (Warning! It's stupid! haha): #SingleInstance, Force Paths = ( C:\abc.d C:\mbc.d C:\dbc.d C:\Fil1\Dele.e C:\Fil1\Delema.d C:\Fil1\File2\Deledmad.d C:\Fil1\File2\Alada.d C:\Fil3\mada.d C:\Fil3\madaf.d ) Paths :=...
by TheDewd
09 Oct 2020, 14:21
Forum: Ask For Help
Topic: Excel Conditional Formatting
Replies: 4
Views: 181

Excel Conditional Formatting

I can't figure out how to convert this Excel macro to AutoHotkey COM Object code. Home > Conditional Formatting > Highlight Cell Rules > Text That Contains... > Format cells that contain the text "PASS" with "Green Fill with Dark Green Text". I want to add the condition to a specific column where th...
by TheDewd
09 Oct 2020, 08:17
Forum: Ask For Help
Topic: Excel Workbook Copy To Topic is solved
Replies: 10
Views: 236

Re: Excel Workbook Copy To Topic is solved

I examined everyone's code and found what works best for my purpose. Thank you, everyone! Let me know if you see any mistakes. :thumbup: #SingleInstance, Force File := [] File[1] := A_ScriptDir "\MyFile1.csv" File[2] := A_ScriptDir "\MyFile2.csv" File[3] := A_ScriptDir "\MyFile3.csv" File[4] := A_Sc...
by TheDewd
08 Oct 2020, 19:58
Forum: Ask For Help
Topic: Excel Workbook Copy To Topic is solved
Replies: 10
Views: 236

Re: Excel Workbook Copy To Topic is solved

@FanaticGuru
Thank you! Your code also works. I'll study each example provided. Thank you everyone!!! :wave:
by TheDewd
08 Oct 2020, 19:45
Forum: Ask For Help
Topic: Excel Workbook Copy To Topic is solved
Replies: 10
Views: 236

Re: Excel Workbook Copy To Topic is solved

I'm not sure if this code is comletely correct, but for me it works. Your code seems to work with my data too. Thank you! I would have thought there was a simpler way, like copying worksheets from existing Workbooks, etc. If no one comes along with a more simple solution, this will definitely be wh...
by TheDewd
08 Oct 2020, 19:39
Forum: Ask For Help
Topic: Excel Workbook Copy To Topic is solved
Replies: 10
Views: 236

Re: Excel Workbook Copy To Topic is solved

Post your code. I have the following in my script which opens two CSV files in Excel. I'm trying to figure out still how to copy all of the files into one Workbook on separate Worksheet tabs. Using the Macro editor to see VBA commands to Copy, however by opening both files using AutoHotkey, the "Mo...
by TheDewd
08 Oct 2020, 18:39
Forum: Ask For Help
Topic: Excel Workbook Copy To Topic is solved
Replies: 10
Views: 236

Excel Workbook Copy To Topic is solved

I have a few different CSV files I want to merge into a single Excel Workbook, with the contents of each CSV file on a separate WorkSheet.

Any ideas?
by TheDewd
17 Sep 2020, 15:16
Forum: Other Utilities & Resources
Topic: WSConfig [CMD]
Replies: 2
Views: 239

Re: WSConfig [CMD]

Nice! Took me a minute to find the link in your post. ;-)
by TheDewd
17 Sep 2020, 14:00
Forum: Ask For Help
Topic: perform Google search for a highlighted term on a specific website Topic is solved
Replies: 3
Views: 223

Re: perform Google search for a highlighted term on a specific website Topic is solved

Code: Select all

#SingleInstance, Force

!g::
	ClipBak := Clipboard
	Clipboard := ""
	Send, ^c
	ClipWait
	Run, % "https://www.google.com/search?q=" Clipboard "+site%3Aec.europa.eu"
	Sleep, 200
	Clipboard := ClipBak
return

Go to advanced search