• 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: making file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making file


  • Subject: Re: making file
  • From: Richard 23 <email@hidden>
  • Date: Thu, 23 Nov 2000 23:02:15 -0800

g3pb <email@hidden>:

>on SplitPath(filePath)
> set filePath to filePath as string
> set AppleScript's text item delimiters to ":"
> tell filePath to if it ends with ":" then set filePath to text 1 thru -2
> tell filePath to set {AppleScript's text item delimiters, ,
> {folderPath, theName}} to {"", {(rest of text items 1 thru -2 of
>(":" & it) & "") as string, last text item}}
> {folderPath, theName}
>end SplitPath
>
>-- i got this from this list, not sure who's it is ...

Telling a variable? Crazy! Must be one of mine.

A pretty good seque for mentioning my site's url:

<http://homepage.mac.com/richard23/>

R23


  • Prev by Date: Re: Most Scriptable Apps (was: Re: Can a script receive
  • Next by Date: Folder Actions saved as applications
  • Previous by thread: Re: making file
  • Next by thread: Re: PDF to EPS, how?
  • Index(es):
    • Date
    • Thread