so if i use that code as a movie script it will help me make a cross
platform cd that will work?? do pc's read that : as well what if you have
both in the projector frame script???
anyone??
mike
>From: Cole Tierney <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: <lingo-l> Who can answer this????
>Date: Tue, 13 Mar 2001 15:05:39 -0800
>
>If you're lazy like me, you can also just grab the last char of the
>pathname for parsing cross platform paths:
>
> the itemDelimiter = the last char of the pathname
>
>Cole
>
>
>>Jon Paul Alongi wrote:
>>>how can i show just the filename and not the whole path in a text box....
>>
>>Mark A. Boyd wrote:
>>> Look into using the itemDelimiter to get the last (or possibly next to
>>last) item in the path.
>>
>>Mark is right - this is the code that I use
>>
>>As this is quite a common function for me, I set this up as a function:
>>
>>on GetNameFromPath thePath
>> backup = the itemDelimiter
>>
>> if the platform contains "mac" then
>> the itemDelimiter = ":"
>> else
>> the itemDelimiter = "\"
>> end if
>>
>> theItem = the last item of thePath
>>
>> the itemDelimiter = backup
>>
>> return theItem
>>end
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
>email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]