General XMetaL Discussion
rakesh September 3, 2018 at 12:17 pm
Xmetal macro issue with different verson of XMetalSeptember 3, 2018 at 12:17 pmParticipants 1Replies 2Last Activity 4 years, 1 month ago
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.
RakeshDerek Read September 5, 2018 at 8:15 pm
Reply to: Xmetal macro issue with different verson of XMetalSeptember 5, 2018 at 8:15 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).rakesh September 6, 2018 at 7:12 am
Reply to: Xmetal macro issue with different verson of XMetalSeptember 6, 2018 at 7:12 am
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.
- You must be logged in to reply to this topic.