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

Get relative path

For general discussion related FlowStone

Get relative path

Postby TrojakEW » Fri Aug 02, 2013 1:39 pm

I'm looking for a way to get relative path so the application will always open/look in relative subfolder to application/executable/vst. Start folder and sysfolder primitive can't get this path.

In ruby:
File.expand_path(File.dirname(__FILE__))
this will get ruby path (windows\system32) folder.

I want to setup internal file list that will always look for files in specific subfolder in app relative path.
User avatar
TrojakEW
 
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia

Re: Get relative path

Postby Drnkhobo » Fri Aug 02, 2013 4:46 pm

"Find Files" primitive maybe?
:?:

That should give you the files in a specified folder. . . which you can test against.
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: Get relative path

Postby strangeChild » Sat Aug 03, 2013 1:24 am

There's a primitive called 'Start Folder' - returns the location of the exe/plugin.
strangeChild
 
Posts: 47
Joined: Sat Apr 27, 2013 8:04 pm

Re: Get relative path

Postby TrojakEW » Sat Aug 03, 2013 8:04 am

Oh I miss option for start folder primitive to set up path while testing inside flowstone. It works thanks for help.
User avatar
TrojakEW
 
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia


Return to General

Who is online

Users browsing this forum: No registered users and 45 guests