Support

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

For general discussion related FlowStone

Re: Default Directory locations

Postby RJHollins » Mon May 23, 2016 1:35 am

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. :|
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby tulamide » Mon May 23, 2016 3:17 am

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

Postby RJHollins » Mon May 23, 2016 5:32 am

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. 8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby tulamide » Mon May 23, 2016 1:12 pm

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

Postby RJHollins » Mon May 23, 2016 3:57 pm

That's how all the executables work

Thanks Tulamide for taking the time, and your help.

Much appreciated.

8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby RJHollins » Tue May 24, 2016 2:08 am

aaaaaaggggggggg .... still no joy in 'default location' land :twisted:

... 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 :o

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 :oops:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby RJHollins » Tue May 24, 2016 2:37 am

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.

:(
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby RJHollins » Tue May 24, 2016 7:16 am

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 :mrgreen: 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. :shock:

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] :lol: :oops:

I'm going to test this in my project with a clean slate.

fingers-crossed :geek:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby RJHollins » Thu May 26, 2016 2:28 am

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.
8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Default Directory locations

Postby Jay » Thu May 26, 2016 1:38 pm

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

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 56 guests