Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Browsing all 3715 articles
Browse latest View live

Re: Create an ExtendScript to create PDFs...object help

Hi Diana, This constant works with the FileType property when you save a book. I don't know any of the details about how it works. What exactly do you want to do when the notification is received? If...

View Article


Re: Create an ExtendScript to create PDFs...object help

Hi Rick, Thanks very much! It sounds like I should try adding the Constants.FA_Note_PreFileType to the switch in my setupNotifications function. I'll try playing around with that first and see if I can...

View Article


apply a conditional tag to all occurences of a pragraph

Is it possible to write an extend script to apply a conditional tag  to all occurences of a pragraph tag in a document? Are there any samples of a script like this

View Article

Re: apply a conditional tag to all occurences of a pragraph

You can also accomplish this using only the standard Find/Change function. 1. USe the Copy Special to load the required Conditional Text Setting already applied somewhere. 2. Use Find to look for the...

View Article

Is there a maker.ini command to change extendscript default startup directory?

Hi All,  Rather than use <framemaker install dir>\startup, I want to use c:\deploy - for storing all my required startup extendscripts and dlls. Can I do this, if so, how?  Thanks! Tracey

View Article


Re: Applying a condition to a paragraph

Hello to all, I know this is an old thread, but I'm just now getting around to trying this task myself and I am unsuccessful as you were. My script is very simple... just attempts to apply a single...

View Article

Re: apply a conditional tag to all occurences of a pragraph

Meera, I thought this sounded like a great idea for a sample script. I thought I would write one and add it to my free samples collection on my website, but it turns out that I just cannot get it to...

View Article

Re: Applying a condition to a paragraph

Hi Russ, This may be more of a FrameMaker 10 ExtendScript issue. I just mocked up a sample document of almost 2000 pages and ran a modified version of Anchal's code. It took awhile, but it worked in...

View Article


Re: Free and For-sale Scripts

I thought I'd ressurect this thread, as I'm looking for a script that will automate this workflow: 1. open a FrameMaker 10 book file (MS Windows 7)2. save it as a PDF to a \PDFs folder3. close it...

View Article


Re: Free and For-sale Scripts

Hi Paul, I don't have anything ready-made, but I could write something for you. Contact me offlist and I will give you a quote: rick at frameexpert dot com. Thank you very much. -Rick

View Article

Error while loading an XML document using a structured application

Hi, I try to load an XML document using a structured application defined in the default structapps.fm My code is shown down, extracted from the FDK API code sample. Problem, I always have the same...

View Article

Re: Error while loading an XML document using a structured application

Hi, My guess is that the script can't find the file you want to open, not that it can't find structapps.fm. One question... what is this? var filename = myLastFile.openDlg("Choose XML file ...",...

View Article

Re: Error while loading an XML document using a structured application

Postscript... I realize now that openDlg() might be some core javascript method that I'm not familiar with, although I can't find much about it. In any case, see what filename equals afterwards. If it...

View Article


Re: Error while loading an XML document using a structured application

Hi Pierre, The openDlg method returns an ExtendScript File object, not a string. When you do this: var fileObj = Open(filename, params, retParm); filename is a File object instead of a string. You need...

View Article

Re: Error while loading an XML document using a structured application

Pierre, Depending on the object "myLastFile", the method openDlg might not even exist (if the myLastFile object is not a File object, for instance). And I do not see any need for the myLastFile anyhow,...

View Article


Re: Error while loading an XML document using a structured application

Hi Russ, Hi Rick, Hi Jang, Thanks for taking time on my problem. You were right : filename was a File object, not a string ... that was the sole problem. Thanks for your answer, it now works.

View Article

my palette window hides behind main window

For awhile, as I developed a script, the "tools palette" window that it creates stayed in front of the main doc window. Somehow it changed behavior, and how hides behind the main doc window whenever I...

View Article


Re: Free and For-sale Scripts

Thanks Rick, will do.

View Article

Getting rid of a notification

I have tried notification and decided there are too many problems with it. But no matter what I do now, the Console keeps showing the same notification error with every file I open. I had a...

View Article

Re: Getting rid of a notification

1.       Go to File->Script->Catalog. 2.       Select the Registered tab. It will show list of scripts which has been registered. 3.       Now select the script which you want to unregister and...

View Article
Browsing all 3715 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>