if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Search
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
User-defined macros in XMetaL Author
Pages:
1
« previous
next »
Print
Author
Topic: User-defined macros in XMetaL Author (Read 4776 times)
krish7
Member
Posts: 13
User-defined macros in XMetaL Author
«
on:
September 22, 2009, 01:50:42 AM »
Hi all
I have a shared folder with all the different DTDs (xac files) used by a set of users.
When one of the user tries to create a macro for one specific DTD, is it possible for others to access/not access it?
I understand that the particular user/machine can use the new macro again, but how can it be reflected it to other users?(say, to add it as a new button in a toolbar and share it with others).
Anyone familiar with this scenario?Suggestions pleasee
Thanks in advance.
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 2621
Re: User-defined macros in XMetaL Author
«
Reply #1 on:
September 22, 2009, 11:45:05 AM »
If the file that is storing macros recorded by your users is the MCR file associated with the DTD or XSD (sitting in the same shared folder as the DTD or XSD) then your users will be overwriting other users macros (which is what I assume you are talking about). This means the users are selecting one of the two items containing the phrase "(All Users)" in the "Create this macro for" dropdown.
Instead, have them pick one of the items containing their windows login name. This will write their script into the corresponding MCR file on their local machine and it will only be available to them:
Application-level macro:
%appdata%\SoftQuad\XMetaL\<ver>\xmetal.mcr
Document-level macro:
%appdata%\SoftQuad\XMetaL\<ver>\<dtdname>.mcr
This is still sort of a legacy feature (partially), from the time when XMetaL Author was just called "XMetaL" and everyone was both an author and developer. This is why, even though you are "just a user", you have to understand who the macro you are recording is for.
Given enough demand I could see us removing the options to record macros for "All Users", or to provide a way for developers (such as yourself) to turn off those items.
If you are worried that your users may still write to your MCR files you can try to make them read-only at the system level on your server where the shared folder resides. In this case the user should be given an error, which may prompt them to remember to select one of the other items.
«
Last Edit: September 25, 2009, 03:44:22 PM by Derek Read
»
Logged
krish7
Member
Posts: 13
Re: User-defined macros in XMetaL Author
«
Reply #2 on:
September 22, 2009, 06:24:48 PM »
Hi Derek
Thanks for the reply. That was really helpful.
I can now think of some way to solve this issue.
Krish
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us