eddyb2 Posted February 18, 2013 Posted February 18, 2013 Hi all I have the advanced version of ScriptMaster. I generated a plugin with some of the ScriptMaster File Management commands, Check Whether File Exists Copy File DeleteFileOrFolder Move or Rename File etc I added this plugin to a runtime solution, on startup, the runtime registers its own plugin. All fine. I have a script that goes to a folder in Program Files, creates a new folder within it, then moves a few files around. Tested it on my PC and a couple of others, all works fine. A few other people running the runtime have reported errors. I have narrowed it down to the fact that they are not Admins. If I try to do what the script it supposed to do manually (just in Windows outside of FileMaker or the Runtime) I tried creating the new folder and Windows gives the message "You'll need to provide administrator permission to copy to this folder" I click 'Continue' and the folder is created. The plugin is obviously hitting this barrier in the background and never creating the folder and then never being able to move files around etc. I cannot expect all users of the runtime to start changing permissions on Windows etc. Is there anyway with ScriptMaster to get around this issue? Thanks Ed
jsubiros Posted April 2, 2013 Posted April 2, 2013 I have a similar problem on a mac, cannot delete files or folders from scriptmaster plugin. I don't know why.
argwallace Posted April 4, 2013 Posted April 4, 2013 Hello, I use ScriptMaster to check for files, move and delete them all the time on my Mac Runtime. Have you checked your paths that you are using?
jsubiros Posted April 10, 2013 Posted April 10, 2013 hello again, i use this paths for Mac, but no run correctly: (fmsuit is the last folder) filemac:/Macintosh HD/Users/CL/Documents/fmsuit/ /Macintosh HD/Users/CL/Documents/fmsuit
jsubiros Posted April 30, 2013 Posted April 30, 2013 i found the "mistake".... so, in mac os, the path has to be without "drive" system. bad: "/macintosh hd/users/clb/example" good: "/users/clb/example" I use to work under windows and there u can put all the path. So, the text to use under mac can confuse at all. Best regards,
Todd Dignan Posted December 19, 2013 Posted December 19, 2013 Wow, This was a complete guessing game for me. I would be nice if 360works documented this. It would of saved me a couple of hours.
giametti Posted February 3, 2014 Posted February 3, 2014 Can this function be used to rename the current (running) file? So far I haven't been able to make it work.
Wim Decorte Posted February 3, 2014 Posted February 3, 2014 Nothing can change the name of an open file. FM / FMS has a lock on it and will not allow the OS to do that. Why would you want that?
Recommended Posts
This topic is 3957 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