Hi.
Is there a way to get the name of a folder in the sub tool list?
I can get the name and ID of a subtool and the ID of a folder, but I don’t know how to get the name of a folder.
Please give me advice!
Thanks.
Hi.
Is there a way to get the name of a folder in the sub tool list?
I can get the name and ID of a subtool and the ID of a folder, but I don’t know how to get the name of a folder.
Please give me advice!
Thanks.
Hi,
Welcome to ZBC!
You can do it like this:
[VarSet,activeST,[SubToolGetActiveIndex]]
[VarSet,tmpFdr,[SubToolGetFolderIndex,activeST]]
[If,(tmpFdr > -1),//we have a folder
[VarSet,folderName,[SubToolGetFolderName,tmpFdr]]
]
You need to have a subtool in the folder selected.
HTH,
Marcus
I was able to get the name of the folder.
thank you so much!!