Pages: 1
Print
Author Topic: Xmetal macro issue with different verson of XMetal  (Read 156 times)
rakesh
Member

Posts: 5


« on: September 03, 2018, 06:17:42 AM »

Hello Derek,

We have running macros within XMetal. Macros are tested with XMetal 5.5, 10 and 11 and working fine. Due to some reason we have to configure our macros on XMetal 6.0

The problem is that after deploying macros on XMetal 6.0 we noticed that few macros buttons get disable when running XMetal. Please suggest what to do.

I am attaching screen grab of same XML opened in XMetal 11.0 and XMetal 6.0 with same macros and configuration. We are using Windows 10.

Thanks in advanced.

Regards
Rakesh

* Xmetal issue.zip (431.35 KB - downloaded 16 times.)
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2575



WWW
« Reply #1 on: September 05, 2018, 02:15:47 PM »

There are quite a few things that will disable a toolbar button that is supposed to be configured to run a macro. Here are a few guesses:

1. The API DisableMacro() is being called to disable the macros that are disabled.

2 If a TBR file is used (not recommended) it might be incorrectly formatted or broken, or the user may have made modifications. Or it could be that the complete rewrite of the menu and toolbar system that was done with version 8 (and inherited by all newer releases) was incomplete and somehow unable to read all permutations of TBR files created with older versions.

3. If the toolbars are being modified/added via MCR file through script using the CommandBars object (recommended) then the script may have issues. That is unlikely if it is working for one version. However, the MCR file may be broken or missing for the version or installation where the behaviour is not what you expect.

4. Perhaps the behaviour of the software itself is different if run on an untested / unsupported version of Windows. None of the version 6 XMetaL products were tested on Windows 10 and none of them were supported on that release (the latest version of Windows at the time of testing was XP SP3). The first version to be tested and released for Windows 10 was XMetaL Author Enterprise version 11 (followed shortly afterwards by XMetaL Author Essential 11 and XMAX 11).
« Last Edit: September 05, 2018, 02:23:48 PM by Derek Read » Logged
rakesh
Member

Posts: 5


« Reply #2 on: September 06, 2018, 01:12:26 AM »

Hello Derek,

Many thanks for your reply.

After research I have got the solution. Actually we are using customize xmetal.ini file. We have created our own startup, Macro, Icon, Display folder and the corresponding path has been mentioned in xmetal.ini file. Problem what the naming convention used for ini file. With XMetal 5.5, 10 and 11, the ini file name was 'xmetal.ini', but with XMetal 6.0 we have to change it as 'xmetal60.ini'.

After changing the ini file as xmetal60.ini the problem has resolved. :) It was just a hit and try.

I really appreciate your work and prompt resolution on concerns.

Again many thanks.

Regards
Rakesh
Logged
Pages: 1
Print
Jump to: