Jump to content

Help with Macros


KingOfHeart

Recommended Posts

A program I use has Macros support.

 

/* Save to \editor\macros\test.js then press Alt-F1 in code-genie, you should see blue icon with test next to it (might have to press .. first), enter that then click on Hello World*/
function HelloWorld()
{
   // ToDo: Edit the code to tailor it to your needs,
   // then run it from the selector...
   Doc.SelText= "Hello " + Doc.Prompt("Enter Name");
}

 

This works well with what I need but I want to know more about this Macros. Like a list of commands or a simple tutorial.

 

I just need to know how to do the following.

1. Can I have a radio option. Some commands are just true and false, so don't want to force them to type it out.

2. Can I have it output more then one option?

Link to comment
https://forums.phpfreaks.com/topic/190183-help-with-macros/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.