05-05-2008, 02:03 PM
Quote:Is there a way I can keep multi-line text organized in a file outside of QM like an ini file.
Escape it. For example,
str s="multiline[]text"
s.escape(1)
rset ...
...
rget ...
s.escape(0)
Or use an XML file instead of ini and macros. Ini also has more limitations, and maybe you'll see them while developing your macro further. Example XML file, eg "C:\SampleMacros.xml":
<SampleMacros>
<EDEC1>phrase text</EDEC1>
<EDEC2 b="button text">phrase text</EDEC2>
<EDEC3 b="button text">multiline
text</EDEC3>
</SampleMacros>
--
Quote:If there are multiple items that have the same action, is there a syntax for:
case 1012 or 1013
case [1012,1013]
--
Quote:If many items have the same tooltip is there a shorter way of having them share it
for i idfirst idlast+1
,tt.AddTool(hDlg i "text")