• 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: Get only the name of the file, instead of the whole path!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get only the name of the file, instead of the whole path!


  • Subject: Re: Get only the name of the file, instead of the whole path!
  • From: KOENIG Yvan <email@hidden>
  • Date: Thu, 17 Jan 2008 17:35:19 +0100

From my point of vue, your soluce may be OK if you are the unique user of your scripts.

If you give or sell them to others they may give odd results because the user may also use other scripts which assume that the TID are in their standard status.

I remember a period where I was fighting with a script and finally discovered that a script sent by a more experienced scripter was coded as yours (no, it was not one of yours).

I finished to discover that the problem was just that when I called my script the TID was not the standard one.
Setting a simple
set AppleScript's text item delimiters to ""
at the entry point cured the oddity because I was unable to edit the other script ( run only one).


So, now, I leave the TIDs as clean as the WC when I quit ;-)

Yvan KOENIG
_______________________________________________
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
  • Follow-Ups:
    • Re: Get only the name of the file, instead of the whole path!
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Re: Get only the name of the file, instead of the whole path! (From: Ed Stockly <email@hidden>)

  • Prev by Date: AppleScript SQL Bridge
  • Next by Date: Change Computer name via Applescript
  • Previous by thread: Re: Get only the name of the file, instead of the whole path!
  • Next by thread: Re: Get only the name of the file, instead of the whole path!
  • Index(es):
    • Date
    • Thread