05-29-2006, 08:08 AM
1. The main difference is for what purposes they are used. Macros are used to automate something. Usually they interact with other applications. Usually you launch them manually (hotkey, mouse, etc). You can press Pause key to end macro. You will use macros in most cases. Functions is more advanced thing. They are mostly used for: a) Like functions in other programming or scripting languages. That is, to use the same code in multiple places just by calling the function; b) Unlike macros, multiple functions can run simultaneously, which is better in some cases. For example, use functions to execute background tasks and other tasks that run long time, often unattended, can run simultaneously, do not interfere with each other, like separate applications or services. Read more in Help, "QM items" topic.
2. Do you want to create a dialog to control volume? Why?
3. Maybe repeat key command. Like this:
2. Do you want to create a dialog to control volume? Why?
3. Maybe repeat key command. Like this: