• 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: special characters in file names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: special characters in file names


  • Subject: Re: special characters in file names
  • From: Jim Brandt <email@hidden>
  • Date: Wed, 12 Oct 2005 05:12:48 -0500


This works for me:

set dt to (path to desktop as text)
tell application "Finder"
    set theFile to the selection
    set theFile to item 1 of theFile
    duplicate theFile to folder (dt & "•Originals:")
end tell

I think we'll need to know how you set the variable "theFile"

-- Michelle


OK, more excerpts:

    set infomac to "HD1:InfoMac:"
    set fileList to every file in folder infomac whose kind is "Plain text document"

    repeat with i from 1 to (count of fileList)
        set theFile to (item i of fileList) as text
        duplicate theFile to folder (infomac & "•Originals:")


        tell application "Tex-Edit Plus"
            open file theFile

                ... other script stuff...

         end tell
    end repeat
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: special characters in file names
      • From: Michelle Steiner <email@hidden>
    • Re: special characters in file names
      • From: Shane Stanley <email@hidden>
References: 
 >special characters in file names (From: Jim Brandt <email@hidden>)
 >Re: special characters in file names (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Filemaker permissions
  • Next by Date: Re: special characters in file names
  • Previous by thread: Re: special characters in file names
  • Next by thread: Re: special characters in file names
  • Index(es):
    • Date
    • Thread