Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Folder modification trigger.
#4
Function ChangeFileTriggerFolder
Code:
Copy      Help
;/
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- macro

Before calling this function first time in QM session, the trigger does not work because the environment variable does not exist.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)