Hi @geek,
Thank you very much! Both methods work perfectly! Regards, Joe
Search found 2209 matches
- 20 Mar 2024, 13:30
- Forum: Ask for Help (v1)
- Topic: Parsing JSON string with Jxon library Topic is solved
- Replies: 2
- Views: 161
- 20 Mar 2024, 11:34
- Forum: Scripts and Functions (v1)
- Topic: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey
- Replies: 77
- Views: 68029
Re: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey
Hi Folks, I thought it would be better to post a separate question for a usage issue, but after three days and more than 30 views, it has received no replies, so I decided to come here and hope that the JSON/Jxon experts hanging here can help. The quick summary is: How to access JSON elements that a...
- 19 Mar 2024, 21:25
- Forum: Scripts and Functions (v1)
- Topic: forecast and weather GUI
- Replies: 11
- Views: 511
Re: forecast and weather GUI
OK, the link works with proper values for latitude and longitude.TheNaviator wrote:replace the zeroes with your coordinates
- 18 Mar 2024, 22:42
- Forum: Scripts and Functions (v1)
- Topic: forecast and weather GUI
- Replies: 11
- Views: 511
Re: forecast and weather GUI
you don't need that line in the code with getbackground func, you might as well delete it. Yeah, especially since the weatherbackground var is not used anywhere in the script. :) The big problem is that the UrlDownloadToFile does not work. Using your link var unchanged, I ran this: downloadtest:=A_...
- 18 Mar 2024, 14:49
- Forum: Scripts and Functions (v1)
- Topic: forecast and weather GUI
- Replies: 11
- Views: 511
Re: forecast and weather GUI
Hi @TheNaviator,
I see that this is your first post here, so let me start with...Welcome Aboard!
I was looking forward to testing this, but when I tried to run it, the GetBackground function is missing. Regards, Joe
I see that this is your first post here, so let me start with...Welcome Aboard!
I was looking forward to testing this, but when I tried to run it, the GetBackground function is missing. Regards, Joe
- 18 Mar 2024, 12:39
- Forum: Scripts and Functions (v1)
- Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
- Replies: 95
- Views: 76082
Re: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
After the TrayIcon_Button("AOL.exe", "R") call, try this in V1:kashmirLZ wrote:So now whats a reliable way to always click the third element in the list?
Send {Down 3}{Enter}
Or this in V2:
Send "{Down 3}{Enter}"
Both work here. Regards, Joe
- 17 Mar 2024, 15:07
- Forum: Ask for Help (v1)
- Topic: Parsing JSON string with Jxon library Topic is solved
- Replies: 2
- Views: 161
Parsing JSON string with Jxon library Topic is solved
Hi Folks, I'm using the Jxon.ahk (Lib function) . I understand the AHK assignment statement syntax after calling oJxon:=Jxon_Load(jsonvar) . For example, with this JSON data subset... { "log": { "version": "1.1", "creator": { "name": "HelloWorld", "version": "123.45" }, "pages": [ { "timestarted": "...
- 17 Mar 2024, 10:04
- Forum: Scripts and Functions (v1)
- Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
- Replies: 95
- Views: 76082
Re: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
Hi kashmirLZ , It returns the index (zero-based) of the icon in the system tray over which the mouse is hovering. If the mouse is not hovering over an icon, it returns -1. Microsoft doc is here: https://learn.microsoft.com/en-us/windows/win32/controls/tb-gethotitem Very easy to test with this simple...
- 06 Mar 2024, 00:50
- Forum: Ask for Help (v1)
- Topic: Outlook COM failure
- Replies: 2
- Views: 125
Re: Outlook COM failure
Hi lmstearn,lmstearn wrote:might be taking the string value of the variable name
Great call! That's surely what's happening, because these two lines do work:
Code: Select all
OuterDex := A_index
msg .= Rules.Item(OuterDex+0).Name "`n"
- 04 Mar 2024, 15:37
- Forum: Ask for Help (v1)
- Topic: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
- Replies: 9
- Views: 560
Re: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
That's some awesome digging! Works a charm! For my purposes, I changed the check to ConditionType=2 (Subject) and the variable to c.Subject.Text...PERFECT! Thanks so much for your excellent help on this...very much appreciated! Regards, JoeShatterCoder wrote:Some digging reveals...
- 03 Mar 2024, 10:45
- Forum: Ask for Help (v1)
- Topic: Outlook COM failure
- Replies: 2
- Views: 125
Outlook COM failure
Hi Folks, I'm working on an interesting thread with ShatterCoder : https://www.autohotkey.com/boards/viewtopic.php?f=76&t=126600 It has resulted in a tangential issue that I think is better in a new question. ShatterCoder's post has this line of code, which works fine: msg .= Rules.Item(OuterDex := ...
- 01 Mar 2024, 20:00
- Forum: Ask for Help (v1)
- Topic: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
- Replies: 9
- Views: 560
Re: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
Works great! That handles the From field. Now for the Subject field. The GIFs are very helpful, although I haven't figured out the answer for Subject. Any thoughts? Thanks!ShatterCoder wrote:the short answer is that you just change SentTo to From
- 01 Mar 2024, 13:34
- Forum: Ask for Help (v1)
- Topic: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
- Replies: 9
- Views: 560
Re: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
Hope this helps. If you get stuck post what you have and I'll see if I can help out Yes, very helpful...another great step! For the recipients, you are using this in the SentTo rule: item := c.SentTo.Recipients.Item(A_index).AddressEntry I looked at the Outlook Object Browser (for only the Outlook ...
- 28 Feb 2024, 20:25
- Forum: Ask for Help (v1)
- Topic: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
- Replies: 9
- Views: 560
Re: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
Hi ShatterCoder , That's a great first step...works perfectly! I care only about the From and Subject fields, so I added a check in your code for RuleConditionType[Condition.ConditionType] being From or Subject , which gives results like this: Rule 1 Name - Subject - True - From - True Rule 2 Name -...
- 27 Feb 2024, 13:04
- Forum: Ask for Help (v1)
- Topic: How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
- Replies: 9
- Views: 560
How to use Outlook Component Object Model (COM) to export Outlook 365 Rules to readable format
Hi Folks, Looking for AHK V1 code that uses the Outlook Component Object Model (COM) to export Outlook 365 Rules to any readable format, such as CSV, HTML, TXT, XLS, XML, whatever. If this is not possible, does anyone know of a third-party tool that does it? As far as I know, Outlook 365 itself cann...
- 26 Feb 2024, 11:56
- Forum: Ask for Help (v1)
- Topic: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
- Replies: 18
- Views: 834
Re: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
Yes, very important, as I noted in a much earlier comment that you must have missed:Gary-Atlan82 wrote:Edit: Mikey I will keep your advice on screenshot vs code in mind as well, cheers!
"Screenshots are great, but it would be really helpful if you post the whole script that you're using."
Regards, Joe
- 25 Feb 2024, 18:25
- Forum: Ask for Help (v1)
- Topic: How to find current exe name without using WinSpy
- Replies: 2
- Views: 108
Re: How to find current exe name without using WinSpy
Look at the WinGet doc. For example:deets wrote:get the exe name of the ACTIVE WINDOW
Code: Select all
WinGet,ActiveExeName,ProcessName,A
- 25 Feb 2024, 13:05
- Forum: Ask for Help (v1)
- Topic: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
- Replies: 18
- Views: 834
Re: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
But I am plagued by this "catastrophic failure" issue anyways. Running the script directly by printing the file path on a message box, I get a lot of errors that I have to "ok" before I finally get the path... Then there's something amiss on your system, because msgbox,% GetSelectedFile() works per...
- 24 Feb 2024, 12:01
- Forum: Ask for Help (v1)
- Topic: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
- Replies: 18
- Views: 834
Re: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
I tried it and it looks like I am getting the same issue, the selected file is never found. If you used the exact code that mikey and/or I posted, my guess is that your call to the function is bad. Screenshots are great, but it would be really helpful if you post the whole script that you're using....
- 23 Feb 2024, 16:17
- Forum: Ask for Help (v1)
- Topic: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
- Replies: 18
- Views: 834
Re: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
This thread reminded me of a similar function from sinkfaze that I put in my bag-of-tricks a few years ago: GetSelectedFile(hwnd="") { ; this function by sinkfaze: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=77#p395 WinGet, process, processName, % "ahk_id" hwnd := hwnd? hwnd:WinExist("A") ...