If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Default Directory locations
32 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: Default Directory locations
hmmm ...
OK ... could you try one experiment ??
1. Save it off as an EXE.
2. Change to different file and directory.
3. close app
4. Reload APP ... is it still the Last Directory ??
Thanks T ... this is driving my crazy.
OK ... could you try one experiment ??
1. Save it off as an EXE.
2. Change to different file and directory.
3. close app
4. Reload APP ... is it still the Last Directory ??
Thanks T ... this is driving my crazy.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
I don't need to test that series: It won't be the last. You have to save it on exiting the application, and load back in on starting the application.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Default Directory locations
OK ... this is a new type of function for me with FS. I thought that Sample/Hold would do just that ...
From your description, is the only way to do this is by storing the path string to disk ?
Is it possible that the Preset Manager could be employed to save this internal to the app ?
So specific ... the ONLY way is to Save to disk, and then AUTOLoad on startup ?
Please bare with, as I'm having to learn new stuff here.
Thanks T for guiding me on this ... appreciated.
From your description, is the only way to do this is by storing the path string to disk ?
Is it possible that the Preset Manager could be employed to save this internal to the app ?
So specific ... the ONLY way is to Save to disk, and then AUTOLoad on startup ?
Please bare with, as I'm having to learn new stuff here.
Thanks T for guiding me on this ... appreciated.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
RJHollins wrote:So specific ... the ONLY way is to Save to disk, and then AUTOLoad on startup ?
Yes.
That's how all the executables work, if they want to store settings that they want to use on the next start up. Mostly they use %APPDATA% for it.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Default Directory locations
That's how all the executables work
Thanks Tulamide for taking the time, and your help.
Much appreciated.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
aaaaaaggggggggg .... still no joy in 'default location' land
... even my 2nd example posted doesn't work as expected.
It can't be this hard ... could it !!!
I'm using 2 separate FileDia prims. 1 for 1st location, the other for the 2nd.
I'm not doing ANYTHING but testing this directly in FS ... Even though the directories data are different, after setting the 2nd dialog, going back to the first is defaulting to the 2nd location
In the schematic, I can see the correct 'pre' string feeding the default parameter ... but the dialog does not open to that. This is so strange.
note ... I run as Total Administrator, so there are no file restrictions [if that even matters to this issue].
To be sure ... I'm NOT running inside my project. I'm doing only a test of the 2nd example. What the devil can I be over-looking
... even my 2nd example posted doesn't work as expected.
It can't be this hard ... could it !!!
I'm using 2 separate FileDia prims. 1 for 1st location, the other for the 2nd.
I'm not doing ANYTHING but testing this directly in FS ... Even though the directories data are different, after setting the 2nd dialog, going back to the first is defaulting to the 2nd location
In the schematic, I can see the correct 'pre' string feeding the default parameter ... but the dialog does not open to that. This is so strange.
note ... I run as Total Administrator, so there are no file restrictions [if that even matters to this issue].
To be sure ... I'm NOT running inside my project. I'm doing only a test of the 2nd example. What the devil can I be over-looking
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
to highlight more ...
With the FileDia prim:
Feed the String output, 'Chosen File Path' into the FLDR input [default filename with ext].
NOTE: if you only use 1 FileDia in the test ... YES, it will continue to locate to the correct location. as expected.
Now ... make a second example. [so now we have 2 separate modules independent from each other.
Locate the 2nd module to a DIFFERENT location than the first.
Now go back and check module 1. The location has now changed to the 2nd [last chosen] location.
ok. I don't know why or how to fix.
With the FileDia prim:
Feed the String output, 'Chosen File Path' into the FLDR input [default filename with ext].
NOTE: if you only use 1 FileDia in the test ... YES, it will continue to locate to the correct location. as expected.
Now ... make a second example. [so now we have 2 separate modules independent from each other.
Locate the 2nd module to a DIFFERENT location than the first.
Now go back and check module 1. The location has now changed to the 2nd [last chosen] location.
ok. I don't know why or how to fix.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
This is crazy ...
So, as I research this issue, I'm searching this forum and locate a post by Tulamide with an example 'Path_splitter'.
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=3624&p=19896&hilit=filename#p19896
For grins I download and test. Works nice [though I thought I had this already in my toolbox [THANK-YOU].
But even more interesting ... I test the simple concept of force-feeding selected path BACK INTO as a default. Including one for SOURCE, and one for DESTINATION.
..... it WORKED.
the exact SAME thing I've been fighting with, now just plain worked.
Before I get to happy, and give any impression that 'Youse Guys' won't be hearing from me again ... [cause who else do I have to ask]
I'm going to test this in my project with a clean slate.
fingers-crossed
So, as I research this issue, I'm searching this forum and locate a post by Tulamide with an example 'Path_splitter'.
http://www.dsprobotics.com/support/viewtopic.php?f=3&t=3624&p=19896&hilit=filename#p19896
For grins I download and test. Works nice [though I thought I had this already in my toolbox [THANK-YOU].
But even more interesting ... I test the simple concept of force-feeding selected path BACK INTO as a default. Including one for SOURCE, and one for DESTINATION.
..... it WORKED.
the exact SAME thing I've been fighting with, now just plain worked.
Before I get to happy, and give any impression that 'Youse Guys' won't be hearing from me again ... [cause who else do I have to ask]
I'm going to test this in my project with a clean slate.
fingers-crossed
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
OK ... had a bit of time to work on this little Utility project.
It generally is working, but not totally de-bugged.
?Question? In using the FileDialog prim, I'm trying to select a empty FOLDER. The problem is, because its empty, I can't select it
To clarify. This FOLDER is a Destination location to store files created by this utility. As a temp solution, I've stuck a text file in the folder to select ... then I can capture the PATH. [a lame solution that's working] ... but what is the correct way to do this ?
Thanks.
It generally is working, but not totally de-bugged.
?Question? In using the FileDialog prim, I'm trying to select a empty FOLDER. The problem is, because its empty, I can't select it
To clarify. This FOLDER is a Destination location to store files created by this utility. As a temp solution, I've stuck a text file in the folder to select ... then I can capture the PATH. [a lame solution that's working] ... but what is the correct way to do this ?
Thanks.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Default Directory locations
Not sure if there is a better way to do it RJ but that has always been the way its done with synthmaker/flowstone afaik
- Jay
- Posts: 276
- Joined: Tue Jul 13, 2010 5:42 pm
32 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 101 guests