Search found 2182 matches
- Yesterday, 22:41
- Forum: Ask for Help (v1)
- Topic: List of USB serial numbers
- Replies: 5
- Views: 44
Re: List of USB serial numbers
The Switch statement is good for that. Something like this: Switch serial2 { Case "111","222","333": Run,explorer.exe Case "aaa","bbb","ccc": Run,notepad.exe Default: Msgbox,262192,Error,Serial number not recognized:`n`n%serial2% } Add as many Case statements as you need for different serial numbers...
- Yesterday, 21:25
- Forum: Ask for Help (v1)
- Topic: List of USB serial numbers
- Replies: 5
- Views: 44
Re: List of USB serial numbers
You may have misunderstood my comment. I think you are trying to see if the serial number that comes back from the DriveGet command (in the serial2 variable) matches one of the serial numbers in a list. Is that right? If so, the If statement that you want is: if serial2 in 111,222,333,aaa,bbb,ccc ; ...
- Yesterday, 21:07
- Forum: Ask for Help (v1)
- Topic: List of USB serial numbers
- Replies: 5
- Views: 44
Re: List of USB serial numbers
I haven't looked at garry's script, but knowing garry, I assure you that he did not have this line: if (serial2="111,222,333,aaa,bbb,ccc") ; LIST OF SERIAL NUMBERS That statement does NOT check for a match in a list (and garry surely knows that). I can't speak to the rest of your script, but if you ...
- Yesterday, 13:56
- Forum: Forum Issues
- Topic: Cannot attach PDF file to post
- Replies: 0
- Views: 17
Cannot attach PDF file to post
It seems that the forum does not allow a PDF file as an attachment to a post. When I tried it, I got this:
Is that a known restriction, or temporary glitch, or am I doing something wrong? Thanks, Joe
Is that a known restriction, or temporary glitch, or am I doing something wrong? Thanks, Joe
- Yesterday, 11:58
- Forum: Ask for Help (v1)
- Topic: Wrap
- Replies: 8
- Views: 105
Re: Wrap
OK. Btw, I just tested the script in your last post...worked perfectly here. Edit: Meant to say that you can test the script even with the printer being out of ink by "printing" to a PDF file. That's what I did here, and I was going to upload the file for you to see, but the forum does not allow upl...
- 27 Mar 2024, 19:30
- Forum: Ask for Help (v1)
- Topic: Wrap
- Replies: 8
- Views: 105
Re: Wrap
You're welcome, jr. Looking forward to your feedback tomorrow.
- 27 Mar 2024, 18:45
- Forum: Ask for Help (v1)
- Topic: Wrap
- Replies: 8
- Views: 105
Re: Wrap
this script should wrap after 300 pixels It does: jrachr print gui.png print what the wrapped gui shows when I press Ctrl & P The Print command is for plain text files. Since you are trying to print an image file (PNG), you should use the IrfanView /print parameter to print it. In other words, in t...
- 26 Mar 2024, 14:24
- Forum: Ask for Help (v1)
- Topic: Need to know how to insert "["
- Replies: 14
- Views: 150
Re: Need to know how to insert "["
I don't know how to determine which modifier keys are needed for which characters. So, if you're trying to produce documentation on that, I can't help...hopefully, someone else in the group will jump in. If you're actually trying to send/insert all such characters via a script, I would address them ...
- 26 Mar 2024, 13:18
- Forum: Ask for Help (v1)
- Topic: Need to know how to insert "["
- Replies: 14
- Views: 150
Re: Need to know how to insert "["
When I need to detect what modifier key to use I must no send anyhing. Then I don't understand your end goal. Your initial post says: I need to know what keys I need to press to insert "[" In order to insert "[" , you can Send % Chr(91) . If that's not what you're trying to do, please explain furth...
- 26 Mar 2024, 12:50
- Forum: Ask for Help (v1)
- Topic: Need to know how to insert "["
- Replies: 14
- Views: 150
Re: Need to know how to insert "["
Hi @Archimede,
Instead of trying to figure out what keys to press, you could simply send it via the Chr function. For example:
Regards, Joe
Instead of trying to figure out what keys to press, you could simply send it via the Chr function. For example:
Code: Select all
LeftBracket:=Chr(91)
Send %LeftBracket%
MsgBox % LeftBracket
- 23 Mar 2024, 18:57
- Forum: Ask for Help (v1)
- Topic: toolbar-navigating macro doesn't work as function Topic is solved
- Replies: 2
- Views: 41
Re: toolbar-navigating macro doesn't work as function Topic is solved
Code: Select all
send {tab 3}{right %toolbarX%}{enter}
send {home}{down %paletteY%}{right %paletteX%}{enter}
- 23 Mar 2024, 12:27
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 170
Re: AutoHotkey start page is broken
Glad to hear it! My hip-shot...Cloudflare was the culprit.gregster wrote:Now it works again on both computer and phone.
- 23 Mar 2024, 01:39
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 170
Re: AutoHotkey start page is broken
Fine here, too, with Brave, Chrome, Edge, and Firefox (Chicago area, USA).
- 20 Mar 2024, 13:30
- Forum: Ask for Help (v1)
- Topic: Parsing JSON string with Jxon library Topic is solved
- Replies: 2
- Views: 91
Re: Parsing JSON string with Jxon library Topic is solved
Hi @geek,
Thank you very much! Both methods work perfectly! Regards, Joe
Thank you very much! Both methods work perfectly! Regards, Joe
- 20 Mar 2024, 11:34
- Forum: Scripts and Functions (v1)
- Topic: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey
- Replies: 77
- Views: 66965
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: 267
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: 267
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: 267
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: 74054
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: 91
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": "...