Another approach is to just check for the last char of a path:

if the last char of the moviePath = ":" then
    -- you are on a Mac
else
    -- you are on a PC
end if

Irv

At 1:00 PM +0100 3/7/01, Tom Vandenbossche wrote:
>hi list
>
>somethig isn't right here
>I wrote
>if the platform contains "Macintosh, powerpc" then
>myscript
>else
>myspript2
>end if
>
>If I let it run on a mac G4 he doesn't detect the platform so he goes
>straight to myscript2
>If I turn things on (platform contains "Windows, 32") I get the same result.
>No detection of the platform and goes then straight to myscript.
>
>Am I doing something wrong or what?
>Tom
>


-- 

Lingo / Director / Shockwave development for all occasions. 
          
   (Home-made Lingo cooked up fresh every day just for you.)

[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!]

Reply via email to