Super!
![Yay! Dance! Yay! :dance:](./images/smilies/dance.gif)
Yep, I was thinking along the same lines.teadrinker wrote: ↑07 Jun 2024, 23:15it would be better to first estimate the total size of the data, then create a SafeArray of the right size at once, and then fill it with data without first creating an additional buffer.
Code: Select all
#include *i %A_TrayMenu%.ahk
msgbox
Code: Select all
Run "::{374DE290-123F-4565-9164-39C4925E467B}"
Code: Select all
Run "shell:::{374DE290-123F-4565-9164-39C4925E467B}"
Code: Select all
>^+a:: msgbox
>^Shift:: Send '{Blind}{vk07}'
Code: Select all
>^+a:: msgbox
^Shift:: Send '{Blind}{vk07}'