02-19-2006, 12:14 AM
Is there a way to get the name of the current file and current macro playing, because in a single file, there can be multiple macros in them.
Thank you
Thank you
Current File and Current Macro
|
02-19-2006, 12:14 AM
Is there a way to get the name of the current file and current macro playing, because in a single file, there can be multiple macros in them.
Thank you
02-19-2006, 10:43 AM
02-22-2006, 12:42 AM
What about a macro calling a function? how can the function check the name of the macro?
02-26-2006, 02:03 PM
Wow, you documentation is wonderful.
But I am new to this so please give me a little bit more time to understand, lol. Anyways, do you already have a built in function that enumerates all the macros and functions in a file? I have organized my macros to go to "Macro" folder and all the Functions to go to "Functions" folder. So when I open the file, I only see 3 folders. I am getting ready to distribute this file at work but I need to make sure that when the main macro is played, all the other macros and functions are in the file. And at this point, I am totally clueless how to check that
02-26-2006, 02:24 PM
02-27-2006, 06:41 AM
Wow :lol: thank you very much.
How do I do it w/o the System Folder?
02-27-2006, 07:31 AM
09-07-2011, 01:01 PM
Hello All,
I wrote a little function that can be put at the beginning of a function that outputs the current item (item from which is called this function) and the thread entry function (macro or function that started execution) .... This was based on the above and something else in the forum which I can't find right now but also demonstrates how to use the context arguments of getopt in conjunction with getmacro, which can be a bit confusing. Not sure yet what difference is between option 2 and 3. Any thoughts or more elegant solutions, Gintaras? S Function OutCurrentAndThreadEntryMacros str cmacro tmacro;; current macro; thread entry macro,
09-07-2011, 01:12 PM
3 is correct.
2 would get current callback function, if exists, for example dialog procedure.
09-07-2011, 01:20 PM
thanks!
S |
« Next Oldest | Next Newest »
|