Gilbert13 Posted March 9, 2013 Posted March 9, 2013 Hi, I need help with my script In my file I use the Send Event cmd /c DEL /Q *.pdf1 "C:pdf" to delete a pdf file in Windows. The file will be located in a folder named PDF in the C: or Macintosh HD. I need to do the same in a Mac 10.8, do I need to create an Apple script in the OS fist? I appreciate any help or ideas. Thanks
argwallace Posted March 10, 2013 Posted March 10, 2013 I've done this on the mac side in 2 different ways. I used an applescript and a shell script command using the ScriptMaster plugin. Here is a sample code of my Applescript calculation where as the variable $$fullpath uses the volume name path: "set theFile to "" & $$fullpath & "" as alias" & ¶ & "tell application "Finder" to delete theFile" Hope this helps... Stephen
Recommended Posts
This topic is 4280 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