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

Re: Replacing all text in book with sample text

Hi Jang, I noticed that what makes the script crash is the line "oDoc.TextSelection = oTRange;". When I replace oDoc.TextSelection with oRange, the script stops crashing. However, it does not delete...

View Article


Re: Replacing all text in book with sample text

You have to set oDoc.TextSelection to a text range before methods like Clear or Copy have any effect: they take the current TextSelection as the range on which they are applied. The flags in the Clear...

View Article


Re: Replacing all text in book with sample text

Hi Jang, Thank you for your response and for the suggestions! Unfortunately, nothing changes when using oDoc.Clear (Constants.FF_VISIBLE_ONLY). When oDoc.TextSelection = oTRange, the script crashes...

View Article

Re: Replacing all text in book with sample text

Hi, I am single-stepping through the script and find that it also deletes automatic text, such as auto-numbers in a table of contents. That is where Frame dies. So I have to figure out a way to...

View Article

Re: Replacing all text in book with sample text

OK, I think I have this nailed now. The devil is in the details, as usual. I have adapted the flags for the GetText method so that only the relevant text strings are returned, i.e. a text line that...

View Article


Image may be NSFW.
Clik here to view.

Re: Replacing all text in book with sample text

Hi Jang, Thank you for your reponse! I appreciate your help!I also kept running tests yesterday, while modifying the script in order to spot the cause of the crash. The original script crashes even...

View Article

Image may be NSFW.
Clik here to view.

Re: Replacing all text in book with sample text

Hi Jang, Thank you very much for the update. Real developers do not give up -- you are the real one! I absolutely agree with you that the devil is in details, and the devil is really strong if the...

View Article

Image may be NSFW.
Clik here to view.

Re: Replacing all text in book with sample text

Hi dear Jang, Not sure you got my email. Looking forward to testing the script on my files. Thanks again!

View Article


How to configure a script so as not to install on startup?

There is a script. I choose "Install on startup" when I installed it. It causes crashes. Even if I uninstall it, it causes crashes in the system if it has been installed. Every time I restart it's...

View Article


Re: Manipulating the clipboard

Jang,Thank You for this idea. Since the clipboard is filled by another application (EndNote), I thought that the method i have used in previous vesion of my utility would be adequate. With the vary...

View Article

Will the e-seminar on FrameMaker scripting ever be available again?

I'm referring specifically to the one listed in the ExtendScript Resources section. I'd also be interested in any other videos out there that could help me learn the basics of FM scripting. Any info...

View Article

Re: Will the e-seminar on FrameMaker scripting ever be available again?

Here are a couple of links to my resources: http://frameautomation.com/2013/01/16/beginning-framemaker-scripting-w ebinar-january-15-2013/...

View Article

Re: Will the e-seminar on FrameMaker scripting ever be available again?

Thanks for the heads up, Rick. I actually stumbled onto your site earlier today, and it looks to have a lot of useful information on it. Unfortunately I'm still coming up short on what I'm trying to...

View Article


Re: Will the e-seminar on FrameMaker scripting ever be available again?

Cronos, Setting an attribute on all graphics in the document should be dead easy as part of the conversion table. And even if it is not handled by the conversion table it is going to be much easier...

View Article

Re: Will the e-seminar on FrameMaker scripting ever be available again?

Thanks Jang. I'm not currently in a position to outsource anything, but if that changes I'll let you know.  If I can just get pointed in the right direction with assigning specific attribute values to...

View Article


Re: Will the e-seminar on FrameMaker scripting ever be available again?

Hi Cronos, Assigning an attribute value in a conversion table is simply adding the attribute name and value to the element in which you are wrapping the format. An example is shown here. Assume these...

View Article

Knowing where the script file is

Hi all, Possibly this question has been asked and answered before. Forgive me if it has and point me to the right topic in that case. I am trying to figure out where the script is located that is being...

View Article


How to add tags in your XML when changing style to Bold

I'm currently checking if there is an easier way to automatically add <b> tags when changing font style to Bold in your xml. I'm not sure how to override the format  of a structured application...

View Article

Re: How to add tags in your XML when changing style to Bold

This question does not make much sense to me. Changing font style in XML does not have a meaning. Applying <b> tags does have a meaning but what do you mean with "automatically" adding those...

View Article

Re: Knowing where the script file is

Hi all, I got a reply from Rick Quatro off-list. Good to share it here, in case someone else is looking for the same thing. The answer is simple: the $ object contains all the information needed about...

View Article
Browsing all 3715 articles
Browse latest View live


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