Posts: 1,031
Threads: 246
Joined: Jul 2022
09-10-2022, 03:43 PM
(This post was last modified: 09-10-2022, 03:45 PM by Davider.)
Hi,
I created a toolbar button that, when I click on it, can output the name of the currently open macro or function
Thanks in advance for any advice and help
david
Toolbar
Toolbar1
Macros_name :sub.Sub1 ;;Gets the name of the currently open macro or function or autotext
#sub Sub1 m
out ;;the name of the currently open macro or function or autotext
Posts: 1,336
Threads: 61
Joined: Jul 2006
09-10-2022, 07:24 PM
(This post was last modified: 09-10-2022, 07:27 PM by Kevin.)
I'm not near a pc but should be
To get current open item in qm editor
_s.getmacro("" 1)
out _s
Posts: 1,031
Threads: 246
Joined: Jul 2022
09-10-2022, 11:08 PM
(This post was last modified: 09-10-2022, 11:10 PM by Davider.)