Pages: « 1 2 3 4 5 6 7 8 9 10 »
 on: March 14, 2019, 03:10:34 PM 
Started by Boyd White - Last post by Derek Read
Because users interact with tables in a unique way when compared to standard elements in a document (what the user is seeing doesn't line up 1:1 with the XML so things get complicated) you need to use special (new and as yet undocumented) APIs to get a user's selection when it might consist of selected cells in a table.

Here's something that does what I think your example code is trying to do.
You can paste these into a document to see them run:

Code: (VBScript)
'XMetaL Script Language VBScript:
If Selection.IsMultiCellSelection Then
    Set c = Selection.Cells
For j = 0 to c.length
Application.Alert("content: " & Selection.Text)
End If

Code: (JScript)
//XMetaL Script Language JScript:
if(Selection.IsMultiCellSelection) {
    var c = Selection.Cells;
for(j=0; j<c.length; j++) {
Application.Alert("content: " + Selection.Text);

 on: March 14, 2019, 01:31:23 AM 
Started by olehtine - Last post by olehtine
I have a problem opening files using UNC path. Open dialog seems to hang for a while (~10-20 sec) before I can choose filename or navigate into another folder. There is no problem if I map the path to a drive letter. We also have several references to the UNC path in macros and other customization files and sometimes (not every time) XMetaL hangs when trying to use a macro. For some users it could take several minutes, so they have to shut down the application (from Task Manager) to get on with their work.

Is there any known problem using UNC paths sith XMetaL? Is mapping to the direve letter the only way to solve the problem?

We are using Windows 10 and XMetaL Essential 11.0.
I am also currently testing with XMetaL Essential 13.0, but the problem seems to persist.



 on: March 13, 2019, 07:11:23 AM 
Started by Boyd White - Last post by Boyd White
This will show me every entry's content in a column:

Set ttable = ActiveDocument.documentElement   
Set tgrouplist = ttable.getelementsbytagname("tgroup")
Set tbodylist=tgrouplist.item(0).getelementsbytagname("tbody")
Set tentrylist=tbodylist.item(0).getelementsbytagname("entry")

For j = 0 To tentrylist.length-1
   msgbox("contents = " + contents)

But I don't need every entry's value...I need only those entry tags that have been selected in the column. I have to add a &tab; at the front of their content.

Anybody have some clues. This has turned out to be harder that I would have expected. In R&Ding I have not even been able to get the Range Start and Range End to maybe exclude those outside during the loop of "j" above.

Thanks in advance.

 on: March 11, 2019, 03:47:13 PM 
Started by Boyd White - Last post by Boyd White
I have been R&D'ing how to select multiple entry tags in a column then add a &tab; at the front of the content of each of those entry tags.

This has proved more difficult that I would have thought. How do you, in a macro, loop through the multiple Entry Tags selected and add text?

Thanks in advance!

 on: March 09, 2019, 08:02:42 AM 
Started by lxsibi - Last post by TimothyAveri
I fixed the issue, I didnt had the proper devices selected. Can an admin close this topic?

 on: March 05, 2019, 01:31:46 PM 
Started by dmurphy - Last post by Derek Read
Aha, oops, yes this is an XMetaL Author feature. It is new to 12 I believe.

Pressing Ctrl+Tab activates this window and allows you to navigate between all the various windows in XMetaL Author as well as switch documents.

If you aren't holding the Ctrl key down on purpose perhaps it is being activated by a sticky keyboard or something.

 on: March 04, 2019, 06:03:36 PM 
Started by akheiljain - Last post by Derek Read
This spell checking system and its file formats were integrated into the XMetaL product line when we were still part of Corel (around 2002/3). Unfortunately, there are some legalities (part of the deal when BlastRadius obtained XMetaL from Corel) that prevent JustSystems (who obtained XMetaL from BlastRadius) from releasing information about the spell checking system or providing additional tools that can work with it.

You might have some luck if you are able to track down an older copy of Corel's WordPerfect.

 on: March 04, 2019, 05:52:21 PM 
Started by dmurphy - Last post by Derek Read
This doesn't sound like a standard feature of XMetaL Author Enterprise to me.

Please check with the vendor for the CMS you are working with to see if this is a window they have added to XMetaL Author's UI, why it might be appearing in this instance, and if they know about the issue and whether they have a fix for it.

If you are sure this is something that is part of XMetaL Author's UI (perhaps I misunderstand from your description) having a screenshot of it might help clarify.

 on: March 04, 2019, 03:57:18 PM 
Started by MichaelLohr - Last post by XMetaLOldTimer
A similar issue was reported by another customer last September and repaired in late October last year.   Redownload the v12.0 which contains XMAX binary v12.0.0.081 and the problem should be fixed there.

Here is the summary of the related issues fix in the latest XMAX 12.0 software:

ArchitectureCannot open document if its corresponding DTD or XSD was located in a deeply nested folder structure. The per-user generated folder path XMAX made for writing compiled rules file was longer than Windows would permit.
ArchitectureCannot open document if its corresponding DTD or XSD was located in a deeply nested folder structure AND APPDATA is set to a UNC-based folder path. The per-user generated folder path XMAX made for writing compiled rules file was longer than Windows would permit.

 on: March 04, 2019, 12:57:44 PM 
Started by dmurphy - Last post by dmurphy
I am using XMetaL 12. A window with a gray background keeps popping up and overlaying the topic I have checked out. It occurs when I have entered something in Attribute Inspector, and pressed Tab, but it doesn't appear every time I enter something and press Tab. The window has "Active Tool Windows" and "Active Files" headers on it, listing the windows and files I have open. With that window open, I can't select or do anything. Pressing Esc causes it to go away. What is this window for, and how can I prevent it from appearing?

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