Adobe Forums

Add Me
Adobe Forums » Software Discussions » FrameMaker » How do I execute a macro in FrameMaker 8

Tags:



Reply
LinkBack Thread Tools Display Modes
How do I execute a macro in FrameMaker 8
  #1 (permalink)  
Old 11-20-2008, 07:11 AM
Paresh_Karandikar@adobeforums.com
Guest
 
Posts: n/a
Default How do I execute a macro in FrameMaker 8

Critical details: FrameMaker 8 standalone version on Windows XP.

I have some custom code in DOORS. (DOORS is a requirements mgmt tool for those that don't know). The code is very simple - it just spits out requirements 96-100.

I want FrameMaker to shell out, execute this code, and somehow receive the output from DOORS. The DOORS code execution can be done from a DOS command-line, so if FrameMaker will let me execute DOS commands somehow, this should be easy. The last step is somehow accepting all of the returned info into a variable (or whatever) and then dumping it into my FrameMaker document.

I am guessing this should be pretty easy, but I can't seem to find any documentation that leads me to this capability. Please help if you can. Thanks!

--Paresh
Herndon, VA


Reply With Quote


  #2 (permalink)  
Old 11-20-2008, 07:11 AM
Art Campbell
Guest
 
Posts: n/a
Default Re: How do I execute a macro in FrameMaker 8

Frame doesn't have a native macro capability.
You can address the API and probably do this either through the Frame Developer's Kit (FDK) or FrameScript, an add-on.

Art
Reply With Quote


  #3 (permalink)  
Old 11-20-2008, 07:11 AM
Scott_Prentice@adobeforums.com
Guest
 
Posts: n/a
Default Re: How do I execute a macro in FrameMaker 8

The FDK just provides functions for interacting with FrameMaker. You need to use OS-specific API calls (such as WinExec) for system calls.

....scott
Reply With Quote


  #4 (permalink)  
Old 11-20-2008, 07:11 AM
Paresh_Karandikar@adobeforums.com
Guest
 
Posts: n/a
Default Re: How do I execute a macro in FrameMaker 8

Thanks for the replies Art and Scott. I tried downloading a trial version of FrameScript and can now make the call quite easily. I didn't even know about FrameScript before so this dialogue was very helpful. Thanks!
Reply With Quote


  #5 (permalink)  
Old 12-03-2008, 06:13 AM
systecgmbhnuremberg@adobeforums.com
Guest
 
Posts: n/a
Default Re: How do I execute a macro in FrameMaker 8

Hello Mr. Karandikar,

FrameMaker has very many keyboard shortcuts, so a lot of the functionality can be done via pressing keyboard buttons.
To get a list of all the shortcuts a FrameMaker instance knows, you can use the freeware plugin found under <http://www.leximation.com/tools/info/listshortcuts.php>

The result of running this plugin is a FM document that lists the shortcuts under a kind of keyword. These keywords can be somewhat cryptic, but most of the time, one can guess which function is hinted at.

Together with a keyboard macro recorder that records keystrokes, you can have a more or less cheap way to automate a lot of stuff (everything that can be done via shortcuts). One good keyboard macro recorder is RemoteKeys (http://www.freewarehits.de/RemoteKeys.htm).

Do not underestimate the power of keyboard macros. I myself used this technique to "automagically" change tables in a large customer document (add rows, delete others, assign formats a.s.o).

Hope this helps,

Franz.

[SYSTEC - the document processing company.]
<http://www.systec-gmbh.com/sites/toolbox.php>
<http://www.systec-gmbh.com/sites/ditapack.php>
<http://www.systec-gmbh.com/sites/3dpack.php>
____________
|Schreiberhauer Str. 5 |D-90475 Nuernberg - Germany
|Phone +49 911 998955-625 |Fax +49 911 998955-663
|e-Mail info@systec-gmbh.com |Internet: www.systec-gmbh.com
|Redaction, Translation: www.systec-td.de |ePublishing, Solutions: www.systec-it.de
____________
|CEO: Dipl.-Ing. (FH) Georg Eck, Dipl.-Btw. (FH) Manfred Papp
|Amtsgericht Nürnberg HRB 9369
|Umsatzsteuer-Identifikationsnummer DE 133560519
______________
|"We innovate things that work better."
Reply With Quote


Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Hairstyles | UFO Videos | Bollywood Wallpapers | Poems  | WWE


All times are GMT. The time now is 09:01 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.