Hi,
I am writing a laaarge helpfile for a huge program as an htm file. It might later be compiled as html help or not. At the moment it will stay a real html file.
Now I would like to write a macro, which would immediately take the user into one of the deeper parts of the program, the user is reading about.
Keyboard and mouse-clicks are easy, of course. The question is: If I do not want to write and compile several very small macros, is there a way that I can put them into one file (I know that one is) *and* access the several different commands in it, without having to run the others? Sort of like the anchor in HTML to jump to a certain position.
Now I need to run that tiny part and exit the macro.
Thanks for any hint.
To access several commands in one macro out of an html file
Moderators: JRL, Dorian (MJT support)
-
- Pro Scripter
- Posts: 68
- Joined: Wed Dec 07, 2005 7:13 am
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You could have the macro set up to query the value of a command line parameter and jump accordingly. Then you simply run the same exe each time but pass a different value on the command line.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?