nixdorf Posted August 3, 2012 Share Posted August 3, 2012 I wonder if it is possible to make a button that create in a predefined path a folder named with a field of database and a subfolder named with another field (ex. fields name and number create .../name/1234/) in OSX. And this button in case the folder already exists, then open it. Link to comment Share on other sites More sharing options...
comment Posted August 3, 2012 Share Posted August 3, 2012 Filemaker itself cannot create a folder, but you could use Applescript for this task. Link to comment Share on other sites More sharing options...
nixdorf Posted August 7, 2012 Author Share Posted August 7, 2012 Ok, then I think is no possible order from FM to applescript that create a folder with name from fields.... but do you think is posible open it? open path?/field1/field2 Link to comment Share on other sites More sharing options...
comment Posted August 7, 2012 Share Posted August 7, 2012 Ok, then I think is no possible order from FM to applescript that create a folder with name from fields.... Why not? See, for example: http://fmforums.com/forum/topic/79232-using-applescript-in-fm-pro-10-on-mac-os-x-to-create-a-folder/ Link to comment Share on other sites More sharing options...
nixdorf Posted February 15, 2013 Author Share Posted February 15, 2013 Finally I open folders with: Open URL [No dialog; "file:///Volumes/G5HD/Users/Shared/en-curso/"] and it's OK, but if I try: Open URL [No dialog; "file:///Volumes/G5HD/Users/Shared/en-curso/" & Proyectos::Cliente & "/"] don't work, do you know why? Link to comment Share on other sites More sharing options...
doughemi Posted February 15, 2013 Share Posted February 15, 2013 Try: $path = "file:///Volumes/G5HD/Users/Shared/en-curso/" & Proyectos::Cliente & "/" Open URL [No dialog; $path] Link to comment Share on other sites More sharing options...
nixdorf Posted April 10, 2013 Author Share Posted April 10, 2013 Thanks, but how I write "$path = "file:///Volumes/G5HD/Users/Shared/en-curso/" & Proyectos::Cliente & "/"" in the Filemaker Manage Scripts? Link to comment Share on other sites More sharing options...
Aussie John Posted April 10, 2013 Share Posted April 10, 2013 use "set variable" Link to comment Share on other sites More sharing options...
nixdorf Posted April 11, 2013 Author Share Posted April 11, 2013 Thanks John, but don't work... or I'm clumsy I didn't think that create and/or open folder in OSX from FM was so difficult. The initial idea was make a button than open a subfolder with the same name of the field "client" in to the folder "en-curso", if folder don't exist, then create and open. But now I think isn't easy... Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4030 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