Aussie John Posted November 3, 2010 Posted November 3, 2010 Hi I want to select a file through a windows diolog and set the path to a field in Filemaker. Being a Mac guy I have no idea how would I script it and implement in scriptmaker? thanks This is my applescript equivalent. tell application "Finder" to set filename to (choose file) as text tell application "FileMaker Pro Advanced" to set cell "setup::file choose" of current record to filename
TheTominator Posted November 3, 2010 Posted November 3, 2010 A cross-platform way of presenting a select file dialog is to do it natively in FileMaker Pro. Create a global container field (e.g. gScriptFileIO) In a script navigate to a layout containing that field. Use the script step Insert File[Reference;MyTable::gScriptFileIO] without specifying a source file. Then GetAsText() on the container field to parse the file reference.
Recommended Posts
This topic is 5173 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now