macro with context sensitive file save
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
macro with context sensitive file save
Is there a way to code a TextPad macro to save a file in which the filename is determined at the time of execution? I tried to write a macro that copies & pastes some selected text into the Save As File name box, but this doesn't work. TextPad appears to hardcode the filename when the macro is recorded. Can anyone suggest another approach or a work-around? Thanks.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
You are correct. TextPad's macros have filenames hardcoded.
You can use other macro programs. I prefer Macro Scheduler ( http://www.mjtnet.com/macro_scheduler.htm ). Another popular one is AutoIt v3 ( http://www.autoitscript.com/autoit3 ). These are not text editors, but create macro scripts, and work well with TextPad. You can create scripts with them that open/close TextPad and perform most functions, including running TextPad macros.
AutoIt3 is free, but I have found for me that Macro Scheduler has more tools, and is easier to learn and use. Your results may vary.
You can use other macro programs. I prefer Macro Scheduler ( http://www.mjtnet.com/macro_scheduler.htm ). Another popular one is AutoIt v3 ( http://www.autoitscript.com/autoit3 ). These are not text editors, but create macro scripts, and work well with TextPad. You can create scripts with them that open/close TextPad and perform most functions, including running TextPad macros.
AutoIt3 is free, but I have found for me that Macro Scheduler has more tools, and is easier to learn and use. Your results may vary.
Hope this was helpful.............good luck,
Bob
Bob