Wanted: Open file dialog without preview
Hello all, I am struggling with the available Folder and File methods in ExtendScript. What I need to do is have the user select a file, but I do not want to show a preview of the contents of that...
View ArticleRe: How to configure a script so as not to install on startup?
Did you solve this yet? There are 2 directories that take items that are executed on startup of FrameMaker: both are called startup. One is in the FrameMaker program directory, the other is...
View ArticleRe: How to add tags in your XML when changing style to Bold
I have created a DITA structured application with defined template and EDD. My document is rendered using the format and styles defined in the EDD. There are cases when I need to override the format of...
View ArticleRe: How to add tags in your XML when changing style to Bold
OK, now I understand what is happening. You need to make the toolbars with formatting options go away in your FrameMaker and NEVER touch them again. Formatting should NOT be done with those functions....
View ArticleRe: How to add tags in your XML when changing style to Bold
Okay noted in hiding them. Is it possible to make a new tool bar to autoinsert <b> tag in the current text location and allow user to input the text?
View ArticleRe: How to add tags in your XML when changing style to Bold
I don't think you are quite getting it yet. The user, meaning an author, who is working on a structured document, should simply insert a new <b> element and type whatever text is supposed to go...
View ArticleRe: How to add tags in your XML when changing style to Bold
Ah yes I understand the operation you suggested. However our user might want to have an explicit way to let them know they are making it bold, hence, I'm thinking if I can create a toolbar "Bold" to...
View ArticleRe: How to add tags in your XML when changing style to Bold
No, I don't think that is a good idea. Either your user has no idea what they are doing in a structured editing environment, which means they should keep their hands off the content. Or the user can be...
View ArticleRe: How to add tags in your XML when changing style to Bold
Okay noted on your idea. Thank you.
View ArticleScript to install and configure startup items
Hi fellow scripters, I have been creating scripts for various customers which required installation in the startup directory of FrameMaker. Although it is easy enough to do this in Windows Explorer, it...
View ArticleRe: Searching within a book using ExtendScript
You know that there’s a dedicated Scripting forum - http://forums.adobe.com/community/framemaker/extendscript?view=overvie w where you might get a faster response?
View ArticleRe: Searching within a book using ExtendScript
Hi Hunter (?) I tried out your code on FM11 and it worked great! So you have no problems! In all seriousness, I did try it and it worked fine and I was not surprised, because it looks fine. I placed...
View ArticleRe: How to add tags in your XML when changing style to Bold
Hi, I have some disagreement with Jang here, despite our normally close relationship . As an author, I have been thinking for a while how nice it would be to have shortcuts for inserting/wrapping...
View ArticleRe: How to add tags in your XML when changing style to Bold
Most of the discussion on this thread has dealt with the relevance of the Bold button on FrameMaker's Text Formatting toolbar to structured documents. While someone made the suggestion to create a...
View ArticleRe: How to add tags in your XML when changing style to Bold
Lynne, I would immediately fire someone who was using direct formatting (without applying structured elements) to any content that is supposed to be a structured document. Or maybe I would not fire...
View ArticleRe: How to add tags in your XML when changing style to Bold
Hi Lynne, Great tips. I still think, though, that a simpler way to apply common formatting would be tops. I really want to press Ctrl+B (or the toolbar button) and automatically get a <b>...
View ArticleRe: How to add tags in your XML when changing style to Bold
Jang, Don't get me started on the risks of users formatting their own structured documents. Directly applying formatting properties is only one way to do so. Others include manipulating white space...
View ArticleRe: How to add tags in your XML when changing style to Bold
Russ, I did not mean to suggest that your proposed "bold element wrapper" would not be useful. I just wanted to point out that FM does offer a general-purpose Wrap command. --Lynne
View ArticleSearching within a book using ExtendScript
I'm having trouble using ExtendScript to search through all the chapters in my book for a text string. The code I've posted does find the first instance of the search string in the document, but my...
View ArticleHas the ExtendScript documentation been updated for FrameMaker 11?
I have Technical Communicator Suite 4, and would like to write a simple script to automate the create of HTML Help for a FrameMaker book file.to (i.e. to automate the process of me opening the book...
View Article