Pages: « 1 2 3 4 5 6 7 8 9 10 »
 on: April 26, 2017, 03:34:05 PM 
Started by C4 - Last post by tonys
To move the cursor before the end tag:


To move after the end tag:


 on: April 25, 2017, 07:10:43 PM 
Started by C4 - Last post by C4

We are using XMetal Author Essential 11.

I'm trying to write a macro to find an element using:

// XMetaL Script Language JSCRIPT:
var rng=ActiveDocument.Range;
// make the range visible

Is there any way to move to the end of the element rather than the beginning of the element?


 on: April 11, 2017, 10:13:50 PM 
Started by 55 - Last post by 55
Thanks :)
We will be using macros to push out the toolbars

 on: April 11, 2017, 05:18:44 PM 
Started by 55 - Last post by XMetaLOldTimer
You can get the Assets tab to display if you add the following INI statement:


As Derek note, the Assets tab is deprecated since the introduction of Windows user-account-control (UAC) with Windows Vista.  Please keep in mind that you cannot create new assets directly from XMetaL because UAC will not let XMetaL write to the program files directory area.  Running XMetaL with admin-privileges and turning off UAC (if possible) might allow creating new assets but it is not something we support anymore.

 on: April 11, 2017, 04:51:14 PM 
Started by bjorn - Last post by XMetaLOldTimer
Assume you are not using DITA, you can customization the context menu for all document types by implementing a On_Application_Document_Context_Menu startup event macro. 

To only customizing the context menu for a specific document type, implement a On_Context_Menu event macro in your <dtd_name>.mcr file. 

The logic is the same for either of these event macros.  During execution of either these event macros, the  Application.ActiveContextMenu property will return a CommandBarPopup object that represents the context menu about to be displayed.  Query that objects Controls property to get the context menu's CommandBarControls collection.  From that collection, use Item method to get an individual CommandBarPopup/Control item that you want to remove and call its Delete method to actual remove it.

 on: April 11, 2017, 04:38:26 PM 
Started by 55 - Last post by XMetaLOldTimer
The only way to push out global toolbar modifications is via an On_Default_CommandBars_Complete startup event macro.  Dropping a default.tbr file onto the client machine will not work and is a known limitation.

 on: April 11, 2017, 04:27:16 PM 
Started by bjorn - Last post by Derek Read
This dialog is not XFT it is a built-in dialog coded into the software.

If you want to make changes you might try to create a dialog with similar features using XFT that calls the APIs provided for working with Change Tracking and adds your own logic:


 on: April 10, 2017, 07:50:46 PM 
Started by 55 - Last post by 55
We are trying to push out a set of toolbars to be used by all users. When we push them out, it makes all the other toolbars disappear, which means to fix it, we have to reset the workspace for each user and rebuild the custom toolbars manually per user.

Is there a way to create a set of toolbars to be used by all users? Or a "global" SQUID code?

Thanks :)

 on: April 10, 2017, 05:50:11 AM 
Started by bjorn - Last post by bjorn

Is the "Accept or Reject Changes" dialog box possible to configure or edit, via the XFT file or maybe code?
After some searching in the XFT files I can't find anyone that is this dialog box, but it seams like this is a XFT dialog box?

What we want to do is to ask if the authors actual want to "accept all changes"  in the document, with a yes/no dialog.

Is it possible to make changes to the "Accept or Reject Changes" dialog box (see attached image)?


 on: April 10, 2017, 04:59:28 AM 
Started by bjorn - Last post by bjorn

I looking into remove some alternatives for the right click menu for the mouse (see attached image).
I see that there is a possibility for removing it completely, but can't find anything for just removing some of the options.

Is there some code that just remove some of the options?


Pages: « 1 2 3 4 5 6 7 8 9 10 »
email us