• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing the name of a file in the temporary items folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the name of a file in the temporary items folder


  • Subject: Re: Changing the name of a file in the temporary items folder
  • From: Ed Stockly <email@hidden>
  • Date: Mon, 10 Dec 2007 08:09:32 -0800

 I'm just lamenting that there is no pure Applescript way to move a file and give it a new name in one step. 


Gee, here I thought we were actually helping you solve a problem, I didn't realize you were just whining about a feature so ultra-specific and rarely used that people thought you were making up restrictions. At least Michelle and I proved that yes, there is a pure appleScript way to do this, and, using a handler, in a single command without leaving anything in the trash or emptying the trash.

OTOH: Using "do shell scrip" is nothing I like to do often. Guess about 

all the potential security risks if you don't check enough eforehand. 

But that would be another therad.


I'm not a big fan of do shell script, but there are no additional security risks using shell commands for something like this above and beyond the risks of using pure appleScript. 


But this discussion is over  (for me).

For me as well.

Ed
=
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: What makes appleScript COOL!
  • Next by Date: Re: Changing the name of a file in the temporary items folder
  • Previous by thread: Re: Changing the name of a file in the temporary items folder
  • Next by thread: Re: Changing the name of a file in the temporary items folder
  • Index(es):
    • Date
    • Thread