What's new
QM 2.3.0 (January 2, 2009)
Exact version: 2.3.0.5
Summary: Supports Unicode. Does not run on Windows 98/Me. Improved code editor.
Changes in QM user interface. A faster way to find help and tools. Updated WINAPI,
added Vista declarations. New functions. XML and CSV functions. Can open external
text files. Custom icons of QM items. Shell menu triggers. Bookmarks and saved
searches. Printing. QM Pro not needed for exe.
Warning: In this version there are changes that may break some of your existing
macros. Read about possible compatibility problems here.
- Supports Unicode.
- Does not run on Windows 98/Me. The last QM version that supports Unicode
- QM 2.2.1 - is available for download.
- Improved code editor. Some related info is here
and here. You can change colors and fonts
in Options -> Editor.
- Open Items and Running Items lists. To show, check View Active Items in
Edit or Run menu.
- Search Help and Tools. Previously it
was available in the forum. If you have downloaded it, delete "QM quick
help search" folder from the list of macros.
- Custom icons of QM items.
- More options in Icons dialog.
- Imagelist editor.
- Shell menu triggers. Previously available in the forum. If you have it,
delete 'Shell menu triggers' folder.
- Bookmarks and saved searches.
- Other changes in QM user interface: docked Find dialog, changes in menus
and toolbars, changed some control ids, changed some colors, icons, added
Back and Forward buttons.
- Updated WINAPI reference file. Added
W function versions. Added wininet functions, and removed inet typelib. Removed
some rarely used functions: cryptography, XML, some other. Added WINAPIV reference
file containing Vista declarations.
- New functions and interfaces: ICsv,
IXml, IXmlNode, empty,
SetEnvVar, GetEnvVar, SetCurDir
(replaces ChDir), GetCurDir
(replaces CurDir), CB_Add,
LB_Add, str.Swap, WaitForThreads,
GetIpAddress, ScreenColors,
WinA (find window containing acc. object), Drag,
outb (display binary data), RunConsole2,
FileCopy, FileMove, FileRename,
FileDelete, CloseWindowsOf,
MsgBoxAsync, __ImageList,
__Hicon.
- New dll functions: StrCompare,
StrCompareN, MemCompare,
GetUserInfo (user/computer name), GetFullPath
(from relative), GetQmCodeEditor, InsertStatement,
and more. To find all the new functions in the Help topic, search for "2.3.0".
- New predefined variables: _unicode.
- New operators: @ (converts string
to Unicode UTF-16).
- More options in: str.unicode, str.ansi,
findrx (flag 32),
str.replacerx (flag32), rget,
rset, str.escape, interface
(optional arguments; comments; multiple function
calls in single statement), type
(comments), out (colors,
links), len (supports
BSTR, VARIANT, word*), newitem
(temporary), lef/rig/mid/dou
(return), opt/getopt
(hungwindow), zip (no
compression), GetFileIcon (cursor, custom size),
RegWinClass, MainWindow,
MessageLoop, OpenSaveDialog
(hwndowner), OnScreenDisplay (picture).
- Added QM item type - file link. Added related
options to qmitem,
str.getmacro, newitem
and in other places.
- Added QM item property - temporary.
- New triggers: QM events -> File link run,
End thread.
- Special folders more reliable.
Several new special folder names and aliases.
- Exe: Any files can be added to resources
using syntax ":resourceid filepath". For example, you can use jpg
and gif images in exe dialogs. Previously it worked only with bmp and ico
files and only with some functions. Now it works with most functions that
load a file, including str.getfile. Also
now can add cursor resources.
- Toolbars: If you drag and drop a file onto a program icon, you can choose
to open the file in that program.
- Name completion. Partially type an identifier (function, etc) and press
Ctrl+Space or use menu Edit -> Members.
- Indented multiline strings.
- Works better: Loading files
and HTML into a web browser control. Some optimizations in win,
child, acc and htm.
Ftp and Http functions don't show error descriptions in QM output; added Ftp/Http
member variable lasterror, which will contain error description if a function
failed (returned 0). Toolbars show nondistorted icons of sizes other than
16/32, if icons of that size are available.
- Printing. Menu File -> More -> Print.
- You can change backup folder path in Options -> Files.
- New menu option: /multicolumn.
- Changed behavior of "record window command" hotkey. Now shows
popup menu with several choices. Removed "record mouse command"
hotkey.
- Exe: QM Pro license now is not needed. Currently
there are no other features that would require Pro license.
- Bug fixes.
Below are some changes since QM 2.3.0.0. Also included above.
QM 2.3.0.1
- Running Items list.
- Search Help and Tools.
- More changes in QM UI.
- ANSI to Unicode converter. In Options
-> General.
- Name completion.
- Indented multiline strings.
- New trigger: QM events -> End thread.
- Special folders more reliable.
Several new or alias special folder names.
- Ftp and Http functions don't show error descriptions in QM output. Added
member variable lasterror, which will contain error description if a function
failed (returned 0).
- Bug fixes.
QM 2.3.0.2
- Local and class variables added to members lists.
- Open items can be restored. Menu Edit -> Active Items -> Open Multiple.
- Other small enhancements recently suggested by QM users.
- Added to IXml: FromFile
argument defaultXML. CreateXml flag 8. ToFile
file can be empty.
- Shell menu triggers now are installed with QM.
- Printing. Menu File -> More -> Print.
- Slightly changed RegWinClass behavior, and fixed
'invalid callback function' bug.
- Text files can be opened in QM using command
line.
- Toolbars: If you drag and drop a file onto a program icon, you can choose
to open the file in that program.
- Bug fixes.
QM 2.3.0.3
- Added to IXml and XmlNode:
ValueBinarySet, ValueBinaryGet,
SetAttributeInt, AttributeValueInt,
Move, ChildCount. With
Path and Child can be
used filter expressions.
- Custom icons of QM items.
- Some changes in Icons dialog.
- Imagelist editor.
- Bookmarks and saved searches.
- Back and Forward buttons.
- New functions, more options in some functions.
- Exe: Any files can be added to resources
using syntax ":resourceid filepath".
- Bug fixes.
- And more.
QM 2.3.0.4 - 2.3.0.5
- Fixed several bugs.
- Exe: QM Pro license now is not needed.
- Unicode. If QM is running in ANSI mode, you will not have compatibility
problems. It is running in ANSI mode if you upgraded QM from an older version.
It is running in Unicode mode if you did not use QM before, or uninstalled
it before installing new version. You can switch mode in Options. It is recommended
to use Unicode. After switching to Unicode mode, you should convert your old
macros that contain international characters. The Convert button helps you
to do it. Read more.
- This QM version does not run on Windows 98/Me. Exe files created with it
too.
- QM user interface. Changed some control types, ids, positions, etc. If you
have macros that interact with them, they may stop working. Changed code editor
control type. Read more here.
- Added some QM extensions that previously were available in the forum. You
should delete downloaded extensions. While not deleted, QM shows warnings.
- QM item icons. Everything will work but some icons in menus, toolbars and
dialogs will be different than before. Read more.
- Updated WINAPI reference file. Removed some rarely used declarations.
- New functions. If you have functions with same names, rename them. On name
conflicts QM shows warnings or errors in output.
- Changed behavior of some functions in some specific cases. With rget,
rset, slightly changed behavior when a data type is explicitly specified.
With str.escape, flag 2 now is ignored.
With out, if text begins
with <>, it is interpreted as containing formatting tags (colors, links,
etc), and found tags are removed.
- win, child, acc,
htm. Changed search order. Now at first retrieves
visible windows/controls, then hidden. win and child
may find another control if matchindex is specified. Retrieved arrays of handles
also may be ordered differently. This may happen only if some of matching
windows or controls are hidden. Use window/control finder dialogs to fix the
code.
- Now uses different way to get paths of special folders. Normally this should
not change anything, but if previously some paths were incorrect or could
not be retrieved, now they will be correct.
QM 2.2.1 (January 1, 2008)
Exact version: 2.2.1.5
Summary: Many bug fixes. New functions, new options in existing functions.
Better reliability of keyboard and clipboard commands.
- Fixed 2.2.0 version bug: QM does not run on Windows XP without SP. QM-created
exe files too.
- Fixed 2.2.0 version bug: If using a locale where , is decimal separator,
QM may start to improperly interpret numbers containing . . In exe
too.
- Fixed 2.2.0 version bug: On some Vista computers, scheduled tasks are not
updated after editing.
- Fixed 2.2.0 version bug: VbsExec and other VBScript
functions don't work.
- Fixed bug: On computers where hardware Data Execution Prevention is enabled
for all programs, don't work dialogs and other code that uses callback functions.
- Fixed mac and DynamicMenu
bugs with synchronous menus: Returns 0 if first line item selected. Does not
wait if a menu is already shown.
- Fixed bug: dll functions with double arguments give exception if passed
certain expressions.
- Fixed bugs in wait K/M in exe: On Windows 98 may
not work. On Vista may not work first time in thread.
- Fixed bugs in: def (strings cannot have ;
characters), clo (some
windows crash), toolbars (sometimes are activated wrong windows), OnScreenRect
(Vista may hang if the rectangle is large, eg 10000x10000), mouse triggers
(incorrect hit test codes), ifk (on Vista sometimes
does not work), wait K/M (the same as with ifk).
- Improved synchronization of key
and clipboard functions. Better reliability, especially in stress conditions
(low memory, busy CPU, etc).
- New options used with opt
(keysync) and getopt
(slowkeys, slowmouse, keymark, keysync).
- Better wait precision
(2 ms).
- Make exe: Can compress.
- Dll functions: 1. Supports optional
arguments. 2. Supports ... to specify variable
number of arguments.
- Added easier way to add ARRAY elements.
- New functions: str.stem, str.getstruct,
str.setstruct, ARRAY.sort, shuffle.
- New user-defined functions and classes: OsdHide
(hide on-screen display), GetVirtualScreen (rectangle
that contains all monitors), ChooseIconDialog, Htm.ClickAsync,
str.RandomString, str.Guid,
str.ReplaceInvalidFilenameCharacters, str.GetFilenameExt,
str.FilenameWithDate, GetFilesInFolder,
GetDrive, GetDrives,
TagWindow, FindTaggedWindow,
IsFunctionRunning, MouseButtonX,
CenterWindow, EnsureWindowInScreen,
XyMonitorToNormal, XyNormalToMonitor,
MoveWindowToMonitor, FirstWindowInMonitor,
SetWindowState, HtmlDoc
class (HTML parsing), several new functions and classes in System\Functions\Programming.
Some of these functions previously were available in the forum. You may have
to delete duplicates.
- New dll functions exported by QM: GetProcessExename,
RealGetNextWindow, MonitorFromIndex,
MonitorIndex, AdjustWindowPos,
RealGetKeyState, Round,
RandomNumber, RandomInt.
- Added predefined variable _monitor
that controls where various dialogs are displayed. Some functions modified
to support it.
- More options in: StartProcess
(window state), GetWorkArea (flags, monitor), OnScreenDisplay
(flag 8 - hide when macro ends, flag 16 - raw x y, flag 32 - place by the
mouse, supports _monitor), ShowDialog (flag 64 -
raw x y, supports _monitor), SetWinStyle (flag 16
- update client), wait
S (can be used handle, can wait until something changes in the window or rectangle),
toolbars (3D buttons), key
(can return virtual-key codes), IntGetFile/Http.GetUrl/Http.FileGet
(reponseheaders), Http.PostFormData/Http.Post
(inetflags, reponseheaders), RegisterComComponent
(can register 64-bit dlls, flag 8), DT_GetControls,
DT_SetControls, win
(can get all matching windows), child
(the same), list (owner window), inp
(owner window), inpp (owner window).
- New categories: sysinfo, multimedia.
- Email functions: 1. Support secure connection (SSL). To use secure connection,
check the checkbox in Outlook Express Accounts or QM Email Settings. 2. Account
settings can be specified in code.
- Changed ShowDialog
position algorithm (differently depends on monitor, styles, hwndowner, etc).
- Slightly changed behavior of: win
(prefers visible windows), child
(does not prefer visible windows if matchindex is nonzero), _create.
- Works better: ifk on Vista,
scan with icons.
- Log loaded dlls and type libraries.
- The Find dialog supports AND and OR.
- Changed double to string conversion (str operator = and other operators).
Now the string never has decimal point at the
end. The string can have more digits (better precision). The exponent sign
is uppercase. The exponent does not include 0 at the beginning. If previously
the string could look like 1.e+016, now it looks like 1E+16.
- Toolbars: /bsiz works with all styles,
and added minwidth.
- Other bug fixes and optimizations.
Below are changes since QM 2.2.1.0. Also included above.
QM 2.2.1.1
- Fixed bugs in (see above): clo, toolbars, OnScreenRect,
mouse triggers, wait K/M in exe.
- Fixed 2.2.1.0 version bug: Dialog Editor sometimes shows random pages of
multipage dialogs.
- New functions: GetVirtualScreen, ChooseIconDialog,
Htm.ClickAsync, RealGetKeyState.
- More options in (see above): SetWinStyle, toolbars,
key, IntGetFile, Http.GetUrl,
Http.FileGet, Http.PostFormData,
Http.Post, RegisterComComponent.
- Slightly changed behavior of (see above): win,
child.
- Works better (see above): ifk,
scan.
- Log loaded dlls and type libraries.
QM 2.2.1.2
- Email functions: 1. Support secure connection (SSL). 2. Account settings
can be specified in code.
- New functions: str.getstruct, str.setstruct.
- The Find dialog supports AND and OR.
- Slightly changed behavior of: _create.
QM 2.2.1.3
- Fixed bug: On computers where hardware Data Execution Prevention is enabled
for all programs, don't work dialogs and other code that uses callback functions.
- Fixed bug: dll functions with double arguments give exception if passed
certain expressions.
- Fixed QM 2.2.1.2 bugs in str.getstruct and str.setstruct.
- Dll functions: 1. Supports optional arguments. 2. Supports ...
to specify variable number of arguments.
- Added easier way to add ARRAY elements.
- Changed double to string conversion (see above).
- New functions and classes: Round, RandomNumber,
RandomInt, str.RandomString,
str.Guid, str.ReplaceInvalidFilenameCharacters,
str.GetFilenameExt, str.FilenameWithDate,
GetFilesInFolder, GetDrive,
GetDrives, TagWindow, FindTaggedWindow,
IsFunctionRunning, MouseButtonX,
ARRAY.sort, ARRAY.shuffle, HtmlDoc class.
- More options in (see above): win, child.
- Other bug fixes.
QM 2.2.1.4
- New functions, classes and variables: GetProcessExename,
RealGetNextWindow, MonitorFromIndex,
MonitorIndex, AdjustWindowPos,
_monitor predefined variable, CenterWindow, EnsureWindowInScreen,
XyMonitorToNormal, XyNormalToMonitor,
MoveWindowToMonitor, FirstWindowInMonitor,
SetWindowState.
- More options in: GetWorkArea, OnScreenDisplay,
ShowDialog, list, inp,
inpp.
- Some functions can show dialog in specified monitor. Read above.
- Changed ShowDialog position algorithm.
- Toolbars: /bsiz works with all styles, and added minwidth.
- Bug fixes.
QM 2.2.1.5
- New functions: str.stem.
- Bug fixes.
QM 2.2.0 (June 25, 2007)
Exact version 2.2.0.11
Summary: Runs well on Windows Vista. New winapiqm.txt. Macros can run in separate
process. New functions, enhancements and new options in existing functions and
other features.
- QM now is compatible with Windows Vista, 32-bit and 64-bit versions.
Read about it here. Also you may want
to read about creating exe files for Vista.
- Updated winapiqm.txt reference
file (WINAPI). Also, in the QM forum you can
find and download another reference file that contains more declarations.
- Enhancements related to reference files:
1. Not error to explicitly declare something that is implicitly declared using
a reference file. 2. Removed "optional" settings from Options (now
everything from WINAPI is always available). 3. Reduced memory usage. 4. Can
include other files. 5. Can log extracted declarations.
- Enhancements related to user-defined
types: 1. Anonymous types within
types. 2. Base type without member
name.
- Enhancements related to keyboard and mouse
triggers: 1. Can be used low level hooks
(optionally), which make triggers more reliable and allow to use system hot
keys. 2. A trigger key can be pressed repeatedly without releasing modifier
keys.
- New functions: interface IStringMap,
RunConsole, lock,
str.dospath, str.addline,
ReceiveMail, #exe
addfile, ExeExtractFile,
ExeGetResourceData, variable
_win64.
- More options in: Dir.GetSize (can get folder size),
str.findreplace (replace null
char), mes (Vista shield
icon), opt keymark, rset
(delete key if empty), web,
wait (multiple handles),
shutdown (thread
handle/id), str.expandpath (unexpand),
EnumQmThreads (thread name),
OnScreenDisplay (wrap), newitem
(encrypted), run (run
as admin), _getactive (ROT moniker),
toolbar hook (WM_INITDIALOG), Dir.FileName
(DOS format), ShutDownProcess, EnumProcessesEx,
win (matchindex, exename),
child (matchindex),
acc (matchindex).
- Small changes in: rget
(ini files), wait x H
(returns -1 on error), Speak (changed implementation;
some changes in behavior with flag 2), wintest
(class is not required for hidden windows).
- Several new dll functions exported by qm.exe.
- Macro and function properties: "Run in
separate process", "Run As".
- Popup menus: Expandable file folders,
bitmaps and more.
- Special folders: 1. Can be
used CSIDL constants. 2. Environment variables are expanded recursively.
- Better supports ActiveX controls.
In the Type Libraries dialog added
Controls view.
- Make exe: 1. Can be specified custom manifest
file. 2. The macro can be in a folder or not. 3. Adding files to exe (see
#exe addfile, ExeExtractFile,
ExeGetResourceData).
- For compatibility with Windows Vista and some programs, key
and clipboard commands now use different synchronization methods than in previous
versions. In most cases, these commands will work as well as previously, but
some macros may require some corrections (wait,
err). Also, after copy/paste commands, the clipboard
contents now is restored immediately.
- Pasting (outp and str.setsel) now works in console
windows too.
- These features are no longer supported in exe:
wait x KF (wait for key-down and eat), share
(shared memory). They can be used only in QM. In exe they would cost too much,
especially on Windows Vista and 64-bit.
- These features are now supported in exe: shutdown
-1 (exit exe), Exit (exit exe). Fixed shutdown
-7 bug.
- In exe, all text and function names now are encrypted.
- Now maximal text length is 4 MB for menus, toolbars and TS menus. For other
items it remains 32 KB.
- A global hot key to show Threads dialog can be specified in Options.
- Menu Edit -> Wrap Lines.
- Options -> Files -> Always Add These Shared Files.
- Toolbars: 1. Some changes in hook functions
(WM_INITDIALOG, etc). 2. New toolbar options
/glass, /font, 1-pixel border. 3. Setting text color does not disable visual
styles. 4. If you use GetWindow or other Windows
API function to get toolbar owner window, you should change it to GetToolbarOwner,
because GetWindow will return incorrect result.
- File triggers: DOS filenames are no longer returned for Added and Modified
events. You should modify Include/Exclude fields that contain DOS filenames.
- Other enhancements and bug fixes.
Below are changes since QM 2.2.0.2 (also included above).
QM 2.2.0.3 - 2.2.0.5
- Popup menus: Expandable folders, bitmaps and
more.
- Several new dll functions exported by qm.exe.
- More options in: shutdown,
str.expandpath, EnumQmThreads,
OnScreenDisplay, newitem.
- Small changes in: wintest.
- Special folders: Can be used
CSIDL numeric values. Environment variables are expanded recursively.
- Global hot key for Threads.
- Fixed bug: ARRAY(Interface*) is declared as ARRAY(Interface).
- Menu Edit -> Wrap Lines.
- Other enhancements and bug fixes.
QM 2.2.0.6 - 2.2.0.7
- Found solutions or workarounds for many Vista
issues. Read below.
- Options: Run As. You can set QM to run
as administrator, uiAccess or normal. Also you can set it for separate macros.
- Macro and function properties: "Run in separate
process", "Run As".
- Make Exe: The macro can be in a folder or
not. Does not create/use exename_res.dll.
- Drag and drop now works on Vista.
- New functions: lock,
str.dospath, str.addline
and several dll functions exported by qm.exe.
- GetWindowUacInfo replaced to GetProcessUacInfo.
- More options in: run
(run as admin), web, _getactive
(ROT moniker), toolbar hook (WM_INITDIALOG),
Dir.FileName (DOS format).
- Solved problems with scheduled tasks on Vista.
- Popup menu expandable folders: include/exclude files.
- Options -> Files -> Always Add These Shared Files.
- Fixed bug: destructors were called for union
members.
- Other enhancements and bug fixes.
QM 2.2.0.8
- Fixed QM 2.2.0 bug: on exception QM exits.
- Computer unlocking now works on Vista.
- New functions: ReceiveMail, ProcessNameToId2.
- More options in: ShutDownProcess, EnumProcessesEx.
- Popup menu: Position can be specified with
mac. More expandable folder flags.
- Other enhancements and bug fixes.
QM 2.2.0.9 - 2.2.0.11
- Better supports ActiveX controls.
In the Type Libraries dialog added
Controls view.
- Adding files to exe. See #exe
addfile, ExeExtractFile,
ExeGetResourceData.
- More options in: win
(matchindex, exename), child
(matchindex), acc (matchindex).
- Popup menu expandable folders: /filterfolders.
Note: flag 64 (apply include/exclude to folders) removed in 2.2.0.10, and
instead added /filterfolders.
- Vista: when used to find a toolbar, win now correctly
recognizes the real owner window.
- New toolbar options /glass, /font,
1-pixel border. Setting text color does not disable visual styles.
- Themed popup menus on Vista.
- More options in menu bar triggers.
- Other enhancements and bug fixes.
QM 2.1.9 beta (September 29, 2006)
Exact version 2.1.9.1
Summary: Can create exe files from macros. Several new functions and new options
in existing functions. Different dialog procedure.
Changes
since 2.1.9.0
- Make exe. Can create standalone programs
from macros and functions.
- New directives: #out,
#warning, #error, #exe.
More options in #opt
(nowarnings).
- New functions: Http.PostFormData.
- New predefined variables and
constants.
- More options in: ShowDialog
(icon, menu, hot keys, resources), dll
(delay-loading), out (clear),
scan (handle, resource),
LogFile, IntGetFile (callback
function), Http.FileGet (callback function), Http.GetUrl
(callback function), Curtain (returns window handle),
dir and Dir.dir (finds
drives).
- Several new dll functions exported by qm.exe.
- In dialog procedure now it
is not necessary to call DT_Init and other DT_x functions.
- File triggers more reliable. Fixed 2.1.9.0
bug with network folders.
- Changed End-macro hot key behavior.
- Other enhancements and bug fixes.
See also:
What's new in versions 2.1.0 - 2.1.8