Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling Looping Macro from Tray
#7
There are two similar options - macro resources and exe resources. When creating exe, QM adds the files to exe as resouces, instead of copying to exe folder. You can read more in QM help topics "Macro resources" and "Make exe" (read about resources).

To use macro resources:
Open the macro to which you want to add the resource. In the Resources dialog click the Add link and import the icon file.
Then use the resource in macro like

str Icon = "resource:58166 paste.ico"

To use exe resources:
In the "Make exe" dialog check "Auto add files...".
Add a resource id to the file path like this:

str Icon = ":100 $qm$\paste.ico"


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)