11-03-2009, 07:52 AM
Function ChangeFileTriggerFolder
Before calling this function first time in QM session, the trigger does not work because the environment variable does not exist.
;/
function $macro $folder
;Changes folder of a file trigger.
;In the trigger, folder must be macro name enclosed in %.
;For example, if the macro is Function15, in the Folder field in Properties type %Function15%.
;The function creates/changes environment variable whose name is macro.
;EXAMPLE
;ChangeFileTriggerFolder "Function168" "$desktop$\folder1"
SetEnvVar macro folder
if(!dis(macro)) dis+ macro; dis- macroBefore calling this function first time in QM session, the trigger does not work because the environment variable does not exist.
