The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetQmItemNames fetches content from system folder
#1
I am a bit lost here, when I use the command: GetQmItemNames to fetch everything within a folder that is not placed within the systemfolder it still fetches foldernames that are in the systemfolder in stead of the defined path to be processed.

I have a folder called "window" and "listbox" within the folder to be processed:
\RR_QM_enhancements\__ACTIVE__\QM_popupmenu
(\RR_QM_enhancements = at root level)

Ï check the extracted items for the existance of \RR_QM_enhancements\__ACTIVE__\QM_popupmenu in the beginning of the extracted item.

Because system folder contents are fetched, those items do not match the following in the beginnig, and get left out:
\RR_QM_enhancements\__ACTIVE__\QM_popupmenu


Function qm_snippet_navList
Code:
Copy      Help
str process_pth="\RR_QM_enhancements\__ACTIVE__\QM_popupmenu"
str all_items
GetQmItemNames(process_pth all_items)

Is there a sure shot way to get the correct full paths of everything within a folder, including:
- item=macro/folder
- item level

I could do this easily with the "GetQmItemNames" command because the result has "[" and "]" for indicating folder items and "." (dots) for their level.

I am using the portable version 2.4.0.3


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)