Search found 1116 matches

by kunkel321
Yesterday, 17:51
Forum: Scripts and Functions (v2)
Topic: Simple Default Printer Viewer/Changer
Replies: 2
Views: 220

Re: Simple Default Printer Viewer/Changer

andymbody wrote:
Yesterday, 17:45
Nice! Simple and direct, from anywhere. And a custom tray icon... rarely see that. lol. Thanks!
:thumbup:
by kunkel321
Yesterday, 17:26
Forum: Scripts and Functions (v2)
Topic: Simple Default Printer Viewer/Changer
Replies: 2
Views: 220

Simple Default Printer Viewer/Changer

This is nothing groundbreaking. It's just a simple gui to list your installed printers as a radio group. The one that is selected by default is the current Default Printer. Select another and press the button to Change Default. Select a printer and right-click for the context menu of additional opti...
by kunkel321
Yesterday, 15:01
Forum: Ask for Help (v2)
Topic: Send menu item to other function?
Replies: 5
Views: 186

Re: Send menu item to other function?

Thanks Russ!
by kunkel321
Yesterday, 13:34
Forum: Ask for Help (v2)
Topic: Send menu item to other function?
Replies: 5
Views: 186

Re: Send menu item to other function?

Strange... The code that you (Boiler) just posted works, but when it's with the rest of the code, I get Error: Too many parameters passed to function. Specifically: chosenSwitch 065: Loop Parse Switches, " " 066: dfm.Add(A_Loopfield, chosenSwitch.Bind(A_Loopfield )) ▶ 067: dfm.Show() 068: } 071: { H...
by kunkel321
Yesterday, 13:24
Forum: Ask for Help (v2)
Topic: Send menu item to other function?
Replies: 5
Views: 186

Re: Send menu item to other function?

Thank you, Sir.
by kunkel321
Yesterday, 12:20
Forum: Ask for Help (v2)
Topic: Send menu item to other function?
Replies: 5
Views: 186

Send menu item to other function?

Given this code, the menu displays as expected, but the MsgBox is always blank when I click a menu item. I want it to show the selected menu item... What am I doing wrong?? #SingleInstance #Requires AutoHotkey v2+ PrinterToolMenu() PrinterToolMenu(*) { Switches := " ( /e display printing preferences...
by kunkel321
Yesterday, 09:41
Forum: Ask for Help (v2)
Topic: Need help with script to send keys :(
Replies: 5
Views: 232

Re: Need help with script to send keys :(

It looks like this forum "Ask for Help (v2)" has a subforum, "Gaming." You might want to try asking there.
by kunkel321
13 May 2024, 07:30
Forum: Ask for Help (v2)
Topic: Hotkeys to switch betwen labels v2 Topic is solved
Replies: 7
Views: 313

Re: Hotkeys to switch betwen labels v2 Topic is solved

Not sure if this will help, but you can have a hotkey activate a named function. With this example, myFunction runs at start up, because myFunction() calls it. Also though, you can run it by pressing Alt+Ctrl+1. #SingleInstance #Requires AutoHotkey v2+ myFunction() !^1:: myFunction(*) { soundbeep }
by kunkel321
12 May 2024, 10:30
Forum: Ask for Help (v2)
Topic: How to Send text as one string?
Replies: 6
Views: 399

Re: How to Send text as one string?

I would use ClipWait . Yeah, good call. I guess it's also worth mentioning that if you are pasting multiple paragraphs, you can have the variable assignment with a multiline continuation section . This takes more lines of code, but it is easier to understand. A_Clipboard := " ( I was playing with t...
by kunkel321
12 May 2024, 09:23
Forum: Ask for Help (v2)
Topic: How to Send text as one string?
Replies: 6
Views: 399

Re: How to Send text as one string?

#SingleInstance #Requires AutoHotkey v2+ ^+p:: ; Ctrl+Shift+P, save to clipboard, then simulate paste. { A_Clipboard := "I was playing with the Send command.`nIt seems it can only send text character by character, like typing.`nI was wondering if it is possible to send a text as a whole string?`n`n...
by kunkel321
11 May 2024, 17:00
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 235

Re: Array items not "popping" ?? Topic is solved

Okey dokey. Here is the proof of concept working as desired. Thanks Just me, RussF, and Teadrinker, for the help. #SingleInstance #Requires AutoHotkey v2+ ; text experiment guiTitle := 'Trimulator (trim simulator)' str := 'left and right arrows will visually simulate trims' str := ' ' str ' ' delL :...
by kunkel321
11 May 2024, 16:37
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 235

Re: Array items not "popping" ?? Topic is solved

What you are describing certainly matches what I'm seeing... But I'm having a hard time understanding why this happens (and therefore how to fix it). Here is a simpler version of the effect. Interestingly, with this version, at least the arr.len appears to decrement as expected, but the value of del...
by kunkel321
11 May 2024, 08:56
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 235

Array items not "popping" ?? Topic is solved

I'm working on this "proof of concept" code. The different conditions: left/right/undo all share the same function. I did that so that they would all have access to the same static variables (assigned at the top of the function). With the msgbox at the bottom of the function, you can see that the st...
by kunkel321
11 May 2024, 07:48
Forum: Scripts and Functions (v2)
Topic: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1
Replies: 8
Views: 2803

Re: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1

This is awesome -- Thanks for sharing!
by kunkel321
09 May 2024, 14:06
Forum: Ask for Help (v2)
Topic: Progressive removal of text in Text Control?
Replies: 5
Views: 346

Re: Progressive removal of text in Text Control?

Teadrinker pointed out that, for the right-to-left trimming, the spaces don't really need to be added back. Keeping that in mind, I came up with the below... It's not as elegant as the Teadrinker regex solution, and probably not as efficient/fast, but it is easier to understand -- LOL. I made the GU...
by kunkel321
09 May 2024, 12:18
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14570

Re: AutoCorrect for v2

andymbody wrote:
09 May 2024, 06:24
Very nice! Hotstrings can indeed be 'context specific' with #HotIf.
by kunkel321
09 May 2024, 12:02
Forum: Ask for Help (v2)
Topic: Progressive removal of text in Text Control?
Replies: 5
Views: 346

Re: Progressive removal of text in Text Control?

teadrinker wrote:
08 May 2024, 22:15
Thanks for this, Teadrinker! It works well. Very enigmatic though.
by kunkel321
09 May 2024, 12:00
Forum: Ask for Help (v2)
Topic: tray icons usage Topic is solved
Replies: 9
Views: 420

Re: tray icons usage Topic is solved

what do you mean? after making them in svg, i scale them to let's say 256x256 png then convert png to ico. and pretty sure then windows downscales it to 16x16 or whatever scale it needs for the taskbar. works for me Yep -- Again, same here. I think the downscaling that Windows does is probably the ...
by kunkel321
09 May 2024, 11:32
Forum: Ask for Help (v2)
Topic: tray icons usage Topic is solved
Replies: 9
Views: 420

Re: tray icons usage Topic is solved

marypoppins_1 wrote:
09 May 2024, 08:28
yeah okay thank you. i'm currently working on making my own icons too but in svg then i can make them any size without losing quality and convert to .ico
Yeah, I always make mine as SVGs too. Converting them to ICO always "rasterizes" them though.

Go to advanced search