Macros?

What is the magic to get macros to work? In my functions sections I have the following:
83=macro,1

In my macro's section I have:
1=*81*82

but when I type 'rpt fun 1999 *83' in the CLI nothing happens.

but when I type 'rpt fun 1999 *81*82' in the CLI it executes both of those commands.

Thanks,
John

John Bettasso wrote:

What is the magic to get macros to work? In my functions sections I have the following:
83=macro,1

In my macro's section I have:
1=*81*82

but when I type 'rpt fun 1999 *83' in the CLI nothing happens.

but when I type 'rpt fun 1999 *81*82' in the CLI it executes both of those commands.

Thanks,
John

_______________________________________________
App_rpt-users mailing list
App_rpt-users@qrvc.com
http://qrvc.com/mailman/listinfo/app_rpt-users

You need to terminate them with a #

e.g.:

[macro]

1 = *954*89*931001# ; All links off

Steve
WA6ZFT

John Bettasso wrote:

What is the magic to get macros to work? In my functions sections I have the following:
83=macro,1

In my macro's section I have:
1=*81*82

but when I type 'rpt fun 1999 *83' in the CLI nothing happens.

but when I type 'rpt fun 1999 *81*82' in the CLI it executes both of those commands.

Thanks,
John

_______________________________________________
App_rpt-users mailing list
App_rpt-users@qrvc.com
http://qrvc.com/mailman/listinfo/app_rpt-users

I missed the first part of your question,
Let me elaborate some more.....

In your function stanza, you should have a line similar to:

5=macro ; Command macros

Note that the macro function does not take any method argument.
The line above reserves DTMF 5 for macros, so all macros start with *5
Therefore, in the macro stanza if you have the following:

1 = *954*89*931001# ; All links off (local only mode
2 = *954*9532000*9532011*989132*89*931000# ; Site normal
3 = *955*89*931002# ; Restore all links

*51 will execute the all links off macro, *52 will execute the site
normal macro, and *53 will execute the restore all links macro.

Steve
WA6ZFT

1 Like

Thanks for the explanation.
Regards,
John

···

----- Original Message ----

From: Stephen Rodgers <sales@qrvc.com>
To: John Bettasso <jabettasso@yahoo.com>
Cc: app_rpt-users@qrvc.com
Sent: Friday, July 17, 2009 8:57:25 AM
Subject: Re: [App_rpt-users] Macros?

John Bettasso wrote:
> What is the magic to get macros to work? In my functions sections I have the
following:
> 83=macro,1
>
> In my macro's section I have:
> 1=*81*82
>
> but when I type 'rpt fun 1999 *83' in the CLI nothing happens.
>
> but when I type 'rpt fun 1999 *81*82' in the CLI it executes both of those
commands.
>
> Thanks,
> John
>
>
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users@qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
>

I missed the first part of your question,
Let me elaborate some more.....

In your function stanza, you should have a line similar to:

5=macro ; Command macros

Note that the macro function does not take any method argument.
The line above reserves DTMF 5 for macros, so all macros start with *5
Therefore, in the macro stanza if you have the following:

1 = *954*89*931001# ; All links off (local only mode
2 = *954*9532000*9532011*989132*89*931000# ; Site normal
3 = *955*89*931002# ; Restore all links

*51 will execute the all links off macro, *52 will execute the site
normal macro, and *53 will execute the restore all links macro.

Steve
WA6ZFT