Jump to content

Move File & Delete Folder


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

Recommended Posts

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

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

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,
Link to comment
Share on other sites

  • 7 months later...
  • 1 month later...

This topic is 3756 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.