Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get all QMitem in the folder where the current macro
#1
I want to get all QMitem in the folder where the current macro. If there are multiple folders with the same name, only the projects under the parent folder should be retrieved.
demo: https://i.ibb.co/G4G9WCzp/demo.gif

How to get the folder path in the format like "\Folder\Folder"?

Macro C
Code:
Copy      Help
out

QMITEM qi
qmitem("" 0 &qi)
str folderName.getmacro(qi.folderid 1)
out folderName

ARRAY(QMITEMIDLEVEL) a; int i
GetQmItemsInFolder(folderName &a 1)
for i 0 a.len
,out _s.getmacro(a[i].id 1)


Messages In This Thread
Get all QMitem in the folder where the current macro - by Davider - 06-29-2025, 02:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)