Search found 2166 matches
- Yesterday, 22:42
- Forum: Scripts and Functions (v1)
- Topic: forecast and weather GUI
- Replies: 7
- Views: 103
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_...
- Yesterday, 14:49
- Forum: Scripts and Functions (v1)
- Topic: forecast and weather GUI
- Replies: 7
- Views: 103
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
- Yesterday, 12:39
- Forum: Scripts and Functions (v1)
- Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
- Replies: 95
- Views: 73817
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
- Replies: 0
- Views: 25
Parsing JSON string with Jxon library
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: 73817
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: 84
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: 470
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: 84
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: 470
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: 470
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: 470
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: 470
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: 610
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: 85
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: 610
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: 610
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: 610
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") ...
- 23 Feb 2024, 11:51
- Forum: Ask for Help (v1)
- Topic: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
- Replies: 18
- Views: 610
Re: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
You're welcome, mikey. I always have great confidence in code from you and teadrinker.
- 23 Feb 2024, 11:11
- Forum: Ask for Help (v1)
- Topic: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
- Replies: 18
- Views: 610
Re: Windows 11 File Explorer get the current selected filepath script not working Topic is solved
Hi Gary, Jumping in here quickly to let you know that the code mikey posted works here, too (in both W10 and W11). Did you change the code in any way? If so, post it. If not, maybe F3 is getting intercepted by some other program. Try a different/unusual hotkey, maybe !^F3 . Also, make sure that File...
- 24 Jan 2024, 12:57
- Forum: Ask for Help (v1)
- Topic: Code works (gets PID), but won't run in a loop?
- Replies: 2
- Views: 82
Re: Code works (gets PID), but won't run in a loop?
Hi Murica, fails!!? It fails because WinGet List returns a pseudo-array, not an object (and you probably want WinTitle to be ahk_exe ). Try this: WinGet,ids,List,ahk_exe mmo.exe Loop,% ids ; because OutputVar itself is set to the number of retrieved items (0 if none) { nextid:=ids%A_Index% ; because...