Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Twain.SetFolderPath
Sets the folder path for storing image files.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Twain | 3.1 | Yes | Yes | No | No | No |
MBS( "Twain.SetFolderPath"; path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| path | The path to the folder to use for storing image files. If empty clears the file path | "/Users/cs/Desktop/" |
Result
Returns OK on success.
Description
Sets the folder path for storing image files.If you set the path with this function, images are not available with the Twain.CurrentImage function and Twain.ImageCount returns always zero. But with Twain.GetFilePaths you can learn where files have been stored.
The path must end with a slash on Mac and a backslash on Windows.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
See also
- Path.FileMakerPathToNativePath
- Twain.CurrentImage
- Twain.GetFilePaths
- Twain.GetFolderPath
- Twain.SetCompressionQuality
- Twain.SetFileType
Example Databases
Blog Entries
Created 18th August 2014, last changed 5th September 2014
Twain.SetFileType - Twain.SetGamma
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins