What's new
QM 2.3.0 beta (August 26, 2008)
Exact version: 2.3.0.2
Summary: Supports Unicode. Does not run on Windows 98/Me. Improved code editor.
Changes in QM UI. A faster way to find help and tools. Updated WINAPI, added
Vista declarations. Can open external text files. XML and CSV functions.
- Supports Unicode.
- Does not run on Windows 98/Me. Reason 1 - these OS don't support Unicode
well. Reason 2 - less than 0.5% of QM website visitors have 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.
- Changes in QM UI: Active Items pane, docked Find dialog, changes in menus
and toolbars, changed some control ids, changed some colors, etc.
- 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.
- Added QM item type - file link. Added related
options to qmitem,
str.getmacro, newitem
and in other places.
- Added QM item property - temporary.
- New interfaces: ICsv, IXml,
IXmlNode.
- New functions: empty,
SetEnvVar, GetEnvVar, SetCurDir
(replaces ChDir), GetCurDir
(replaces CurDir), CB_Add,
LB_Add, str.Swap.
- 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, RegWinClass
(Unicode), MainWindow (Unicode), MessageLoop,
interface (optional arguments;
comments; multiple function calls in
single statement), type
(comments), out (colors,
links), len (supports
BSTR, VARIANT, word*), newitem
(temporary).
- 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).
- Name completion. Partially type an identifier (function, etc) and press
Ctrl+Space or use menu Edit -> Members.
- Indented multiline strings.
- New triggers: QM events -> File link run,
End thread.
- Special folders more reliable.
Several new special folder names and aliases.
- Works better: loading files
and HTML into a web browser control.
- Printing. Menu File -> More -> Print.
- Exe: jpg and gif files now can be added to
resources where previously you could use only bmp files. For example now you
can use jpg and gif images in exe dialogs.
- Toolbars: If you drag and drop a file onto a program icon, you can choose
to open the file in that program.
- Bug fixes.
Below are changes since QM 2.3.0.0. Also included above.
QM 2.3.0.1
- A Running Items list added below the Open Items list.
- 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.
- More changes in QM UI.
- ANSI to Unicode converter. In Options
-> General.
- Name completion (see above).
- 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.
- Printing. Menu File -> More -> Print.
- Exe: jpg and gif files now can be added to
resources where previously you could use only bmp files.
- 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.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
Latest news
What's new for QM 1 users