save preset
-
FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets").show();
-
@d-healey said in save preset:
FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets").show();
yes that's what I did but it doesn't open the file. you must then open manually once the window is displayed
-
@yall You mean you want to open a .preset file? In what application?
-
@d-healey
no I just want that if I click on my button, it opens the preset folder (the preset folder already open). -
@yall said in save preset:
opens the preset folder
That's what the code I posted does, it opens the User Presets folder. I think there is something lost in communication here as I don't understand what you want.
-
@d-healey yes the traducino is not great ;) in fact the line that I posted to you is similar to yours. it SHOWS the preset folder. then you have to click manually to OPEN the preset folder. What I would like is that if I click on the button, it directly opens the preset folder (and I see my list of presets without needing to manually open the folder)
-
@yall said in save preset:
it SHOWS the preset folder.
@yall said in save preset:
then you have to click manually to OPEN the preset folder
@yall said in save preset:
What I would like is that if I click on the button, it directly opens the preset folder
I'm still not clearer. Are you saying you want it to open a specific bank/category sub folder within the presets folder?
-
@d-healey when you manually go to the final preset folder. you see your list 1.preset, 2.preset 3.preset. These files are in the category folder. the command line does not open the category folder. it opens the windows window where you can see the category folder. then you manually click on the category folder to access your presets. What I want is for this line to open the entire category folder
-
@yall Your original code will do that. Does your
app data/user presets
folder contain the bank and category folders? -
@d-healey by default it has users preset / bank / category.
precisely even my code does not open the category folder. he opens the bank folder and I see the category folder. you have to open the category folder manually -
@yall In your App Data folder on your computer (not your project folder). Do you have a folder called "User Presets", and in that folder do you have a folder called "Bank" and in that folder do you have a folder called "category" (lower case)?
-
@d-healey oui
-
@yall Can you show me a screenshot or video of what you see?
-
@d-healey https://ibb.co/qB6vp37
I can see the category folder.FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets/Bank/category/").show();
this line opens the bank folder and therefore shows the category folder. what I would like would be / userspreset/bank/category / OPEN FOLDER ^^
-
@yall what is the full path? I only see part of it in your image
-
@d-healey the path stops at "bank". as if my line of code had "openfolder -1"
-
@yall no I mean show me an image with the full path to the folder on your computer
-
@d-healey
C:\Users\Yassin\AppData\Roaming\YASPLUGIN\AFRO SYNTH\User Presets\BankI no longer have access to photo sharing my site seems broken but here is the exact path
-
@d-healey hello, I am still on my project of creating a personal preset panel. So I have my save button which works and my list of presets in a viewport and everything works perfectly.
now I ask myself the question. how to create a second viewport to display the categories? so that I choose a category and my preset viewport displays the presets in that category?
I was thinking of creating buttons with images for the categories and simply opening and closing a preset panel.. if I have 10 categories I would have 10 preset viewport panels. Do you think this could be a solution or is there a way? basically to redo the same original browser preset system but with viewports? -
@yall what's the reason you're not just using the stock preset browser?