Pages: « 1 2 3 4 5 6 7 8 9 10 »
 on: January 06, 2017, 12:04:21 PM 
Started by jrob61 - Last post by jrob61
using XMAX 10.0 32-bit control within a application and we make an .exe for the users.

experiencing issue whereby the following line of code within our customized project doesn't return all elements when ran as an .exe.

..... .XMAXControlDocument.Customizations.ElementPropList.item(i).name

Our developers debugging within visual studio professional 2012 using a XMControl.dll with a date of 8-21-2015 is working as expected.

However,  our users running the .exe with a local install of XMAX 10.0 32-bit with local XMControl.dll of 8-21-2015 do not see a complete list of elements. Several of the child elements are missing?

We populate a list of all elements (.dtd) into a listbox in order to allow the user to Find text within a selected element.

The .exe is built from another server, but it too has the same install of XMAX 10.0.

Any reason on why debug mode lists all elements, but .exe doesn't?

 on: December 08, 2016, 06:17:09 AM 
Started by luskds - Last post by luskds
Thanks Derek.  That looks like a simple enough macro to write.  I'll give it a shot.

 on: December 07, 2016, 01:10:02 PM 
Started by luskds - Last post by Derek Read
Macro recording is pretty much limited to things that directly affect a document using the keyboard pasting content, typing content, moving around in the document, etc.

The immediate solution for you would be to use Alt+T followed by C.

In XMetaL Author shortcuts are assigned to macros (a macro might have an associated button on a toolbar or menu but that is incidental). For built-in functions like the Change Tracking feature there is no macro so you cannot assign (or reassign) a shortcut key directly to a built-in function. You would need to write a macro that either duplicates the feature or otherwise runs the feature and assign a keystroke to the macro. There are APIs that let you turn Change Tracking on and off so the following would do it in this case:

Code: (Toggle Change Tracking, JScript example)
if (ActiveDocument.TrackRevisions == false) {
ActiveDocument.TrackRevisions = true;
else {
ActiveDocument.TrackRevisions = false;

 on: December 07, 2016, 10:46:45 AM 
Started by luskds - Last post by luskds
Specifically, I am trying to do a keyboard shortcut to toggle the change tracking button.  Recording a macro just tells me it has no actions to record.  I didn't see it in the keyboard shortcut list or when I did a post search.
I am using XMetal Author Enterprise 10 on Windows 7 (some of our users are on Windows 10 and/or XMetal Author Essentials 10).

 on: November 30, 2016, 06:38:02 PM 
Started by nestorarturo - Last post by XMetaLOldTimer
Yes, version 10 added the new COM property, Cells, to the Selection object.  It returns a DOMNodeList.

 on: November 30, 2016, 06:31:14 PM 
Started by jrob61 - Last post by XMetaLOldTimer
XMAX will fire callback methods through the COM event sink, _IXMetaLControlEvents, and also fire the equivalent event macros.  Which are you using?

The On_Update_UI event macro (or OnUpdateUI event sink callback) is the last event fired prior to allowing users to interact with the XML via keyboard or mouse.

From you description, it is not clear.  You might want to contact Customer Support directly.

 on: November 30, 2016, 02:11:13 PM 
Started by jrob61 - Last post by jrob61
using XMAX (32-bit) control within form.

we are looping thru xml tags to set certain tags as protected from typing. Discovered that this code is running before the drag/drop text is actually available in the editor - thus leaving its text unprotected. The _OnDrop, _On_Document_Before_DropText, and _On_Document_After_DropText already have been triggered before the text appears in the editor. As a work-around we would like to pass around a global Boolean variable after a drag/drop, but having difficulty determining which event to reset this variable in order not to slow down editing having it run unnecessarily.

Question, what is last event (macro) triggered just before the user is allowed to type, and is available with the xmax control?  Not having any luck with _OnUpdateUI, _GotFocus, or _OnDrop.

Didn't encounter this issue with XMetaL Author Essential 5.5?

 on: November 14, 2016, 02:20:52 PM 
Started by rakesh - Last post by Derek Read
Couldn't tell you without seeing the XML file and the customization files that are loaded when it is being loaded. Possibilities:

1) The XML file itself references something on the internet (a reference to an image or other file) and it is waiting for that to download so it can be displayed and dealt with.
2) The DTD or XSD that the XML file references is on the internet, or a portion of it is on the internet, and similar issues to #1 are occurring.
3) A macro or script inside an MCR, CTM, XFT or ActiveX control associated with the XML file (as part of the customization) is being loaded and it has code that is taking a long time to complete. The fact that this occurs only when you have an internet connection suggests that the script is doing something over the internet.

 on: November 11, 2016, 03:50:55 AM 
Started by rakesh - Last post by rakesh

I have encounter a mysterious problem. When I am trying to open a xml file, XMetal stopped responding. When I disconnect the internet then XMetal open the xml file successfully. Any suggestion ?


 on: November 10, 2016, 01:37:13 PM 
Started by megl - Last post by Derek Read
I'm assuming you made a mistake when you stated that you are using XMetaL Author Essential? It sounds like you have a repository connector installed? If so, that usually requires XMetaL Author Enterprise (at least if the connector was written according to our recommendations).

When XMetaL Author Enterprise (or Essential) is crashing like this there are two main reasons for it:

1) The customization files associated with a particular XML document are causing the crash. The most likely cause for that is a script. This would be inside an MCR file or a file an MCR file loads, a CTM file, or an XFT file. The issue might also be in an ActiveX control (usually a DLL) embedded into the document's display area or inside an XFT. Resetting the workspace (which you have done by holding the Ctrl key down and answering "yes" when prompted to reset the workspace) eliminates this possibility by restoring XMetaL Author to its default state, including not loading any previously opened XML files. So I don't think this is the issue.

2) An application-level script loaded at startup is triggering the crash. To resolve this you will need to remove all custom MCR files from the Startup and Macros subfolders in the installation, including any added by your repository vendor. A clean installation of the software will do this provided you only run our installer. Once you can identify any custom files that might be the cause the creator would need to test and debug them.

If the repository connector must be installed to reproduce the issue then you will need to have the vendor that supplied the connector test it using the same setup you have and have them resolve it. If they are unable to resolve the issue they can then work with the XMetaL development team.

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