Running a macro from a custom tool button

Status
Not open for further replies.

Jim Huggins

Usenet Archive
Joined
Apr 23, 2000
Messages
70
Reaction score
0
Hi Everyone,

I have done this before but I can't remember how I did it. I want to run a macro from a custom tool button. In SE, I was able to type the macro name in the key-in line to launch the macro from custom tool button. Is it different in MSJ?

Thank you for your time,

Jim
 
"Jim Huggins" wrote in

I have done this before but I can't remember how I did it. I want to run a macro from a custom tool button. In SE, I was able to type the macro name in the key-in line to launch the macro from custom tool button. Is it different in MSJ?

No.
 
Don't forget the macro command itself.

Key-in : macro macroname

Drake Danley
Ellers Engineering

"Jim Huggins" wrote:

Hi Everyone,

I have done this before but I can't remember how I did it. I want to run
a
macro from
a custom tool button. In SE, I was able to type the macro name in the
key-in
line to launch the macro from custom tool button. Is it different in MSJ?

Thank you for your time,

Jim
 
Yep

First create your button in the customise window..
in there...put your 'tool tip', 'description' and your 'keyin' fields as Drake described.

When calling your macro make sure it is in macro directory under the MS directory or when you call the macro that the full path to the macro is included... ie: "macro C:\mymacro.ba" or "c:\mymacro.ba"

Cheers

Robert
 
Thanks very much. I appreciate your help.

Jim

"Robert M." wrote:

Yep

First create your button in the customise window..
in there...put your 'tool tip', 'description' and your 'keyin' fields as Drake described.

When calling your macro make sure it is in macro directory under the MS directory or when you call the macro that the full path to the macro is included... ie: "macro C:\mymacro.ba" or "c:\mymacro.ba"

Cheers
...
 
Status
Not open for further replies.

Latest threads

Back
Top