Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.