Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
open the inventory directly to a specific folder http://sldev.free.fr/forum/viewtopic.php?f=6&t=2354 |
Page 2 of 3 |
Author: | Henri Beauchamp [ 2023-04-01 16:53:03 ] | ||||||||||||||||||
Post subject: | Re: open the inventory directly to a specific folder | ||||||||||||||||||
E.g. (passing an empty 'parameter' string and omitting the 'show' boolean, meaning it will default to true):
|
Author: | DonFranko [ 2023-04-01 17:02:17 ] |
Post subject: | Re: open the inventory directly to a specific folder |
Thank you ! |
Author: | DonFranko [ 2023-04-01 17:30:14 ] |
Post subject: | Re: open the inventory directly to a specific folder |
Hello Henri, I got another step forward, thank you again. I think it's much better that not all the folders of the new root directory get expanded, esp. when the targeted folder is a root folder. Now I'm wondering if it would be possible to go directly to the sub-folder when that got called in the lua-command by its UUID. In my special use-case that targeted folder is a 4th-level-folder (root-sub1-sub2-sub3). As it is now, one have to click all folder levels to get to the desired folder. It would be great if it would be possible to expand all needed root and sub-level folders automatically if the target folder is a sub-level folder. |
Author: | Henri Beauchamp [ 2023-04-01 17:41:31 ] | |||||||||||||||||||||||||||
Post subject: | Re: open the inventory directly to a specific folder | |||||||||||||||||||||||||||
Oh, and I added the syntax description conventions page 5 of the documentation... |
Author: | DonFranko [ 2023-04-01 18:59:47 ] | |||||||||
Post subject: | Re: open the inventory directly to a specific folder | |||||||||
oh.. i wasn't aware that the uuids do change when you shuffle it a bit.. good to know.. (would that also happen for e.g. Texture-UUIDs that you wanna get loaded in prims?) Thank you for the example with the Full path possibility.. that is of course a much better approach then.
|
Author: | Henri Beauchamp [ 2023-04-01 19:19:36 ] | |||||||||
Post subject: | Re: open the inventory directly to a specific folder | |||||||||
|
Author: | DonFranko [ 2023-04-01 21:45:53 ] |
Post subject: | Re: open the inventory directly to a specific folder |
what a pity that they have the same Short name UUID. Thank you for the detailed information. So I change the script directly to the Folder and make shure that I don't change the folder structure (too often ) |
Author: | DonFranko [ 2023-04-01 22:13:01 ] | |||||||||||||||||||||||||||
Post subject: | Re: open the inventory directly to a specific folder | |||||||||||||||||||||||||||
I beg your pardon, but have another question
Am I doing something wrong? |
Author: | Henri Beauchamp [ 2023-04-01 23:17:39 ] | |||||||||||||||||||||||||||
Post subject: | Re: open the inventory directly to a specific folder | |||||||||||||||||||||||||||
You can also enable the "Lua" debug tag ("Advanced" -> "Consoles" -> "Debug tags") and open the debug console (CTRL SHIFT 4) to see what is found and what is not by the HBViewerAutomation::getInventoryObjectId method (this will be listed in the log) when you issue the "/lua SetLuaFloaterValue('inventory','inventory1','MUSIC|SHOW FAVORITES & NECESSITIES|Spot On')" command in the chat (with the inventory Lua floater already opened). |
Author: | DonFranko [ 2023-04-02 01:27:32 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post subject: | Re: open the inventory directly to a specific folder | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Page 2 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |