• 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
Simple Tex Edit file saving problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple Tex Edit file saving problem


  • Subject: Simple Tex Edit file saving problem
  • From: Bernard Azancot <email@hidden>
  • Date: Thu, 5 Feb 2004 21:07:03 +0100

Hello scripters !

My script peforms several Tex Edit text cleaning operations.
Finally, I rename the text and save it...



-- Script --
set timestring to do shell script "date '+%d-%m-%Y'"
set TheNewName to "OCR " & timestring & ".txt"
set thePath to (the path to the desktop folder as text) & TheNewName
save in thePath with creator "TBB6"
--------------

This works fine.
Now, I would like to backup the same file (impossible to give AS the real file name. It changes with the date.), to another folder. How can I achieve it ?
I have tried "duplicate", "copy" commands without success
The problem is that I do not know how to inform AS what file is concerned by the duplication or copy operation

Any advice ?
Thanks in advance.
BA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Simple Tex Edit file saving problem
      • From: Graff <email@hidden>
  • Prev by Date: Re: Photoshop CS saving EPS with options
  • Next by Date: Re: Running script with admin privileges without admin login
  • Previous by thread: Re: Running script with admin privileges without admin login
  • Next by thread: Re: Simple Tex Edit file saving problem
  • Index(es):
    • Date
    • Thread