Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3957 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

  • 1 month later...
Posted

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

  • 3 weeks later...
Posted

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,
  • 7 months later...
  • 1 month later...
Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.