Search found 2198 matches

by JoeWinograd
14 Apr 2024, 14:38
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 101

Re: Storing PID of a window

How did you do that so quick? *I* did not. The bulk of the code was at the link that I gave you earlier in this thread (which I thought you had checked out when I posted it, but obviously not). All I did was add a few lines of code to display the taskbar position number in the ending MsgBox. WinAct...
by JoeWinograd
14 Apr 2024, 11:43
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 101

Re: Storing PID of a window

pseudo-code Very helpful! I don't know much about Acc . There may be a way to get the PID inside the For Each,Child loop. Let's hope an Acc expert jumps in with that. Attached is a minor modification of the script that shows the position number on the taskbar for each button. The MsgBox at the end ...
by JoeWinograd
13 Apr 2024, 17:31
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 101

Re: Storing PID of a window

Maybe I am not explaining myself adequately Maybe, or maybe it's me, but I am definitely not understanding what you want. For looking at all the buttons on the taskbar by position number, check out this script: https://www.autohotkey.com/boards/viewtopic.php?t=94563#p419941 The test MsgBox in there...
by JoeWinograd
13 Apr 2024, 15:15
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 101

Re: Storing PID of a window

If they all have the same Title , how do you want to refer to them so that you'll know which PID opens which window? If the only way to know is via their positions on the taskbar, I would think that #N is as good a method as any. It's certainly easy enough to search all the PIDs in the system and fi...
by JoeWinograd
13 Apr 2024, 13:33
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 101

Re: Storing PID of a window

Use the WinGet command with the PID subcommand.
by JoeWinograd
10 Apr 2024, 16:48
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19437

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

is there a thread to tackle that? I don't know, but I think this is a fine place to discuss it. In TAC109's first post in this thread, he mentions MPRESS and UPX (in the ScriptGuard2 Restrictions section). Also, there are many other posts about compression/MPRESS/UPX during the almost four years si...
by JoeWinograd
10 Apr 2024, 00:05
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19437

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

it's a false positive so just have to put on allow list Yes, of course it's a false positive, and it's easy for you to whitelist, but if you distribute your programs to other users, it's problematic to get them to whitelist...that's extremely undesirable, especially when the false positive results ...
by JoeWinograd
09 Apr 2024, 21:25
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19437

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

Maybe I'll try UPX then. Doesn't hurt to try it, but as I mentioned earlier, I've had terrible results over the years with it. Every so often I'll try UPX again, especially when there's been a new release, but the anti-virus/anti-malware programs always kill it. Once I found the sizing work-around ...
by JoeWinograd
09 Apr 2024, 13:05
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19437

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

Can help please? Hi jsong, This is a common problem with MPRESS that I've had to deal with for many years. I'm pretty sure (but not certain) that it is related to the size of the executable. I say that because my work-around is to include or exclude some additional code (unused, of course) to make ...
by JoeWinograd
31 Mar 2024, 15:40
Forum: Forum Issues
Topic: Cannot attach PDF file to post
Replies: 2
Views: 77

Re: Cannot attach PDF file to post

Hi Joe,
Thanks for the idea! Just tested a PDF file inside a ZIP file...worked fine! Makes it all the more reasonable to allow uploads of PDFs directly. Regards, Joe
by JoeWinograd
30 Mar 2024, 20:07
Forum: Ask for Help (v1)
Topic: Wrap
Replies: 14
Views: 225

Re: Wrap

You're very welcome! Cheers, Joe
by JoeWinograd
30 Mar 2024, 19:38
Forum: Ask for Help (v1)
Topic: Wrap
Replies: 14
Views: 225

Re: Wrap

Any direction there would be apprecative ... how do I test it via pdf? You need to get the name of the PDF print driver (it's in Devices and Printers). For example, if you use a third-party PDF print driver, its name may be something like Bullzip PDF Printer, CutePDF Writer, doPDF 11, etc. If you u...
by JoeWinograd
30 Mar 2024, 16:23
Forum: Ask for Help (v1)
Topic: Wrap
Replies: 14
Views: 225

Re: Wrap

Well finally got an ink cartridge Joe. OK, but remember my earlier comment...you can test "printing" to a PDF file. Your script ... One thing that I want to make very clear...it is NOT my script. All I did was test it when you posted it to show that it does, indeed, wrap to 300 pixels. it only prin...
by JoeWinograd
29 Mar 2024, 17:13
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 250

Re: List of USB serial numbers

garry's and my post just crossed each other. He's the expert in this, so I'm going to drop out now...I'm sure he'll get you across the finish line. Regards, Joe
by JoeWinograd
29 Mar 2024, 16:36
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 250

Re: List of USB serial numbers

I don't want to guess at how you put together your code with the first script in garry's first post at that other thread. Please post the entire script that you are running.
by JoeWinograd
29 Mar 2024, 15:42
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 250

Re: List of USB serial numbers

It's impossible for us to guess what your script is doing. If you want help troubleshooting it, post the entire script, or at least a sufficient enough portion of it for us to test it and see the problem. The DriveGet statement works fine, the If ... in works fine, Switch/Case works fine, etc., so i...
by JoeWinograd
28 Mar 2024, 22:41
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 250

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
28 Mar 2024, 21:25
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 250

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
28 Mar 2024, 21:07
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 250

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
28 Mar 2024, 13:56
Forum: Forum Issues
Topic: Cannot attach PDF file to post
Replies: 2
Views: 77

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 77 times

Is that a known restriction, or temporary glitch, or am I doing something wrong? Thanks, Joe

Go to advanced search