Search found 1513 matches
- 18 Nov 2020, 13:48
- Forum: Scripts and Functions (v1)
- Topic: VBA to AHK Translator (Excel)
- Replies: 33
- Views: 10405
Re: VBA to AHK Translator (Excel)
Wow! That's amazing! I performed several actions, while recording, and it replicated them perfectly!
- 18 Nov 2020, 13:09
- Forum: Ask for Help (v1)
- Topic: Categorize YouTube Channel List
- Replies: 19
- Views: 2352
Re: Categorize YouTube Channel List
BoBo , I tried to get OAuth and API working, but it was still too difficult. However, I had another idea. Using modified code from Neutron , by GeekDude , I think I've developed a working solution. It will prompt you to login, only once . Afterwards, you should be able to load your subscription lis...
- 18 Nov 2020, 01:04
- Forum: Scripts and Functions (v1)
- Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids (now for v2!)
- Replies: 140
- Views: 60684
Re: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids
How can I show the GUI controls (Minimize, Maximize, Close) without using HTML "fake" controls? Instead of loading custom HTML, I'm redirecting to an external website, and it removes the titlebar controls.
EDIT: Nevermind. Found it. OnMessage
EDIT: Nevermind. Found it. OnMessage
- 17 Nov 2020, 13:18
- Forum: Bug Reports
- Topic: Button width (and height) calculation
- Replies: 4
- Views: 1403
Re: Button width (and height) calculation
joefiesta , Nice workaround! Setting the button text AFTER it's created. :thumbup: I did find that setting the height of the button will make the text wrap: #SingleInstance, Force ButtonText := "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Gui, Margin, 10, 10 Gui, Add, Button, w100 h24, % ...
- 17 Nov 2020, 11:30
- Forum: Ask for Help (v1)
- Topic: Button - how to detect left click and right click? Topic is solved
- Replies: 11
- Views: 3507
Re: Button - how to detect left click and right click? Topic is solved
Please ignore my last reply... I see what I did now. You used special labels for the button, such as ButtonOK . I was trying to call A_GuiControl from ~LButton:: For Left-Click, I like to have a single Label or Function, instead of having to use ButtonOK , ButtonCancel , etc. Normally I use WM_LBUTT...
- 17 Nov 2020, 10:44
- Forum: Ask for Help (v1)
- Topic: Button - how to detect left click and right click? Topic is solved
- Replies: 11
- Views: 3507
Re: Button - how to detect left click and right click? Topic is solved
I like to use HWND instead of A_GuiControl because it becomes BLANK if your control has a variable.
Gui, Add, Button, vMyButton, OK
Gui, Add, Button, vMyButton, OK
- 17 Nov 2020, 09:23
- Forum: Ask for Help (v1)
- Topic: Button - how to detect left click and right click? Topic is solved
- Replies: 11
- Views: 3507
Re: Button - how to detect left click and right click? Topic is solved
#SingleInstance, Force Gui, Margin, 10, 10 Gui, Add, Button, w80 h24 HWNDhButton1, Button 1 Gui, Add, Button, w80 h24 HWNDhButton2, Button 2 Gui, Show, w400 h200, Example return ~LButton:: MouseGetPos, MouseX, MouseY, MouseWin, MouseCtl, 2 If (MouseCtl = hButton1) { MsgBox, You left-clicked "Button...
- 16 Nov 2020, 12:38
- Forum: Ask for Help (v1)
- Topic: Categorize YouTube Channel List
- Replies: 19
- Views: 2352
Re: Categorize YouTube Channel List
...I've had a try downloading the initial source using ComObjCreate("WinHttp.WinHttpRequest.5.1") (to get rid of that c&p/manual event,) but it delivers a different output I would assume that is due to login cookies. It's probably downloading the HTML source for the Google "Login" page. I'm not adv...
- 15 Nov 2020, 21:58
- Forum: Ask for Help (v1)
- Topic: Categorize YouTube Channel List
- Replies: 19
- Views: 2352
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...
- 15 Nov 2020, 20:18
- Forum: Ask for Help (v1)
- Topic: File Tree from Text
- Replies: 4
- Views: 349
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.
- 15 Nov 2020, 19:24
- Forum: Ask for Help (v1)
- Topic: Categorize YouTube Channel List
- Replies: 19
- Views: 2352
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...
- 15 Nov 2020, 19:02
- Forum: Ask for Help (v1)
- Topic: File Tree from Text
- Replies: 4
- Views: 349
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.
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.
- 15 Nov 2020, 13:19
- Forum: Ask for Help (v1)
- Topic: Categorize YouTube Channel List
- Replies: 19
- Views: 2352
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.
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.
- 15 Nov 2020, 12:24
- Forum: Ask for Help (v1)
- Topic: File Tree from Text
- Replies: 4
- Views: 349
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 ...
- 14 Nov 2020, 18:58
- Forum: Ask for Help (v1)
- Topic: Categorize YouTube Channel List
- Replies: 19
- Views: 2352
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 ...
- 14 Nov 2020, 17:16
- Forum: Scripts and Functions (v1)
- Topic: Google Autocorrect "Did you mean:"
- Replies: 4
- Views: 1305
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...
- 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 Topic is solved
- Replies: 2
- Views: 1283
Re: Add word 'header' to ListView Hdr paragraph, to make that option easier to find with search Topic is solved
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.
https://github.com/Lexikos/AutoHotkey_L-Docs/pull/456
FYI: You can request changes from the documentation github.
- 09 Nov 2020, 17:19
- Forum: Ask for Help (v1)
- Topic: Getting SID, renaming all names associated with ahk Topic is solved
- Replies: 2
- Views: 419
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...
- 09 Nov 2020, 16:41
- Forum: Scripts and Functions (v1)
- Topic: [Script] Generate random values that are statistically distributed on a nonlinear curve.
- Replies: 4
- Views: 1177
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
Thank you!
FYI: You can also write PI as pi := 4 * ATan(1) to get 3.141593
- 30 Oct 2020, 13:06
- Forum: Ask for Help (v1)
- Topic: Creating a File Tree from a String
- Replies: 1
- Views: 243
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 :=...