- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Greetings. I'm developing a series of macro-scriptized steps for solving a problem, and I've hit a wall.
Here's the sitch:
I've written a bunch of functions, and I have about 20 functions spread over 4 scripts.
When I run the scripts the functions are listed in the listener, and I can type in any function name in the listener and it works.
Instead of typing in function names, I wrote single-line, temporary scripts that just call the functions. For example: do_function().
I dragged and dropped each function call to a button, and then I just clicked the button any time I wanted to do a do_function().
It worked fine yesterday, but today, after moving some files around, the system... she no work no more.
I had edited the categories of all the resulting MacroScripts and saved them all in the active project folder in a new folder called userMacros. I did a setDir so the MacroScripts would be found. They're found, and I laid them out nicely in a toolbar. BUT, after I run the four scripts that define the functions, when I press the do_function button it throws a messagebox error, and the listener says that do_function is undefined. There is one button that works... it just has the single line clearlistener() in it.
Is it unacceptable to have macroscripts out of the AppData folder? I move around from computer to computer a lot, and it would nice to have portable macroscripts with the project they're needed for.
I'm flummoxed, but learning. Thanks for any help.
Solved! Go to Solution.
