Pages: « 1 2 3 4 5 6 7 8 9 10
 91 
 on: April 17, 2018, 06:38:06 PM 
Started by lchiriac - Last post by Derek Read
I can't reproduce your exact issue but there is definitely a syntax error on line 6 (marked in red below):

ResourceManager.AddTab("MyTab", "Shell.Explorer.2");}

Removing the curly bracket at the end fixes that and allows the script to run properly.

 92 
 on: April 17, 2018, 04:36:16 PM 
Started by lchiriac - Last post by lchiriac
I have been trying to use the ResourceManager to add a tab and navigate to http://www.google.com, as explained in tutorials, but I am getting errors, see attached the screenshot.

Using XMetaL Author Enterprise 10.0 or 12.0

Is it because of the .js files referenced, or am I doing something wrong?

<?xml version="1.0"?>
<!DOCTYPE MACROS SYSTEM "macros.dtd">
<MACROS>
   <MACRO name="On_Application_Open_Complete" lang="JScript" hide="false"><![CDATA[
        // XMetaL Script Language JSCRIPT:
                ResourceManager.Visible = true;
                ResourceManager.RemoveTab( "Assets" );
                ResourceManager.RemoveTab( "Desktop" );
                ResourceManager.RemoveAllTabs();
                ResourceManager.AddTab("MyTab", "Shell.Explorer.2");}
                var msie= ResourceManager.ControlInTab("MyTab");
                msie.Navigate("http://google.com/");
      
   ]]></MACRO>
</MACROS>

Screenshot attached with the error box. Any thoughts appreciated.

 -Liviu

 93 
 on: April 12, 2018, 06:32:52 PM 
Started by Randy316 - Last post by Derek Read
I don't think any of the APIs you might be using to move the selection have changed between these versions. APIs generally are only every modified to extend them (though this is rare). I think you've either you've found a bug or an API was being used incorrectly and happened to function the way you wanted it to in 6 but has since been fixed.

Either way, please submit a support case to XMetaL Support and include all the necessary files to reproduce the issue. XMetaL Support can have a look at it, reproduce the issue, and try to help you figure it out.

Another option would be to test again in version 12 or 13. If the issue is due to some bug with an API it may have been corrected for one of those versions (assuming a client found the same issue and reported it or it was found through testing).

 94 
 on: April 11, 2018, 10:53:25 PM 
Started by Randy316 - Last post by Randy316
I'm new to this forum so please bear with me.  I am working with XMetal Author Enterprise 11.0 on Windows 7 Enterprise version. I have a macro that searches for reference callouts and uses a popup dialog box to enter the desired ref number to search. Often we need to search for a ref number, change the text referenced by the number, then go to the next instance of the ref number and do the same thing multiple times. The macro worked fine in XMetal 6.0 but when we switched to XMetal 11.0, it stopped working in tags-on view (the dialog box pops up and allows you to enter a number, but does nothing when you click OK or press Enter); it only works now in plain-text view.  This is not useful for us as all of our input must be done in tags-on view. In order for the macro to work now, we have to switch to plain-text view, run the macro and enter a ref number into the dialog box, find the ref, switch back to tags-on view, and make any editing changes for that instance of the ref number, then repeat the whole process. Does anyone know why this macro won't work in XMetal 11.0 and/or how to make a macro that does accept input and run correctly in this version? Thanks.

 95 
 on: April 11, 2018, 01:48:15 PM 
Started by akaAnnAdams - Last post by Derek Read
The text for long results is truncated, so that code would actually need to be modified to provide more information to the results list. I believe it is truncated in order to increase the speed at which large numbers of results can be displayed. So, the amount of text here could be increased, but perhaps there are other better options...?

Double clicking on the broken link listed in the Results pane will open the DITA file that contains the broken link, and it will move the selection to the element that has that broken link (which in your case is likely an <xref>). Once you are there you can:

1) Double click on the element to open the properties dialog for it and check the full attribute value you are interested in (assuming the dialog lists it). In the case of an <xref> element for example, the dialog will display the href attribute. You can also right click and select "Properties..." from the context menu (or press the context menu key if your keyboard has one, or Shift+F10).
2) Hover over a start or end tag for the element to see the full attribute value for attributes with values that have been set.
3) Place the insertion point inside the element then open the Attribute Inspector (F6) to check all of the element's attributes.

There are some other (possibly less useful) options:
1) Switch to Plain Text view to view the <xref> element's XML source in full.
2) Copy the <xref> element and paste it into another plain text application like Notepad (which is similar to  previous option).

 96 
 on: April 11, 2018, 10:25:37 AM 
Started by akaAnnAdams - Last post by akaAnnAdams
XMetaL 12

When running the Cross-File Operation to validate references - "For each XML document, check for broken references." against all topics in a ditamap. The results identify broken links, but the actual broken link topic does not display in the results. For example:

t_product_topic.xml
   file not found: (fiel:///c:<folder name>/<sub-folder name>/<sub-folder name>/<sub-folder name>/<sub-fol...

our topics may have many references to the same folder, so searching for that folder doesn't help locate the broken link.

I can expand the results to show the location of the topic the broken is in, but cannot find a way to expand the column to see additional results for the actual item associated with the broken link.

Is there a way to expand the results column?

 97 
 on: April 09, 2018, 03:52:57 PM 
Started by Jaadelman - Last post by Derek Read
This sounds like an issue that affected versions up to XMAX 8 when IE9 was released (the issue was specific to changes Microsoft introduced with IE9).
That issue was resolved with the release of XMAX 9.

I cannot reproduce that same issue running XMAX 11 embedded in IE11, so presumably what you are seeing is some new issue.
I'd first double check the XMAX version. If it is lower than 9 then upgrading may correct the problem.

If the XMAX version they have is 9 or higher please submit a support case to XMetaL Support including any files needed and as much detail as necessary to make it easy to reproduce.

 98 
 on: April 09, 2018, 12:35:08 PM 
Started by Jaadelman - Last post by Jaadelman
I have an issue with Windows 10 Pro adn Internet Explorer 11 users who select a word but then all of the text gets highlighted in the editable area.
We use XMetal 11.0 Client, I have tested by removing, reinstalling. Checked the IE 11 settings.

 99 
 on: April 03, 2018, 09:47:26 AM 
Started by lerche - Last post by lerche
This is a good advice.

But there is certainly one disadvantage. The command line switch doesn't get any feedback from visual studio.

Probably I can examine the build completion by writing the build output into a log file. By observing the changes I will get my feedback. I will check it out.

Thank you, Derek!

 100 
 on: April 02, 2018, 11:38:19 AM 
Started by lerche - Last post by Derek Read
XMetaL Developer cannot be run standalone as it is a plugin for Visual Studio. The Microsoft documentation for "devenv" should let you control Visual Studio from the command line. I suspect you likely need either the /build or /rebuild switch, or perhaps one of the others documented here:

https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx

The following works for me:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" "C:\Visual Studio Projects\Project1\Project1.sln" /build

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