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
4 posts
• Page 1 of 1
Get relative path
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.
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.
-
TrojakEW - Posts: 111
- Joined: Sat Dec 25, 2010 10:12 am
- Location: Slovakia
Re: Get relative path
"Find Files" primitive maybe?
That should give you the files in a specified folder. . . which you can test against.
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
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
Oh I miss option for start folder primitive to set up path while testing inside flowstone. It works thanks for help.
-
TrojakEW - Posts: 111
- Joined: Sat Dec 25, 2010 10:12 am
- Location: Slovakia
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 65 guests