Search found 2182 matches

by JoeWinograd
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...
by JoeWinograd
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 ; ...
by JoeWinograd
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 ...
by JoeWinograd
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:

AutoHotkey forum does not allow PDF upload.png
AutoHotkey forum does not allow PDF upload.png (3.02 KiB) Viewed 17 times

Is that a known restriction, or temporary glitch, or am I doing something wrong? Thanks, Joe
by JoeWinograd
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...
by JoeWinograd
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.
by JoeWinograd
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...
by JoeWinograd
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 ...
by JoeWinograd
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...
by JoeWinograd
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:

Code: Select all

LeftBracket:=Chr(91)
Send %LeftBracket%
MsgBox % LeftBracket
Regards, Joe
by JoeWinograd
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}
by JoeWinograd
23 Mar 2024, 12:27
Forum: Forum Issues
Topic: AutoHotkey start page is broken
Replies: 10
Views: 170

Re: AutoHotkey start page is broken

gregster wrote:Now it works again on both computer and phone.
Glad to hear it! My hip-shot...Cloudflare was the culprit.
by JoeWinograd
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).
by JoeWinograd
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
by JoeWinograd
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...
by JoeWinograd
19 Mar 2024, 21:25
Forum: Scripts and Functions (v1)
Topic: forecast and weather GUI
Replies: 11
Views: 267

Re: forecast and weather GUI

TheNaviator wrote:replace the zeroes with your coordinates
OK, the link works with proper values for latitude and longitude.
by JoeWinograd
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_...
by JoeWinograd
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
by JoeWinograd
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

kashmirLZ wrote:So now whats a reliable way to always click the third element in the list?
After the TrayIcon_Button("AOL.exe", "R") call, try this in V1:

Send {Down 3}{Enter}

Or this in V2:

Send "{Down 3}{Enter}"

Both work here. Regards, Joe
by JoeWinograd
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": "...

Go to advanced search