Underscore in script for windows?

Ken Ray kray at sonsothunder.com
Mon Nov 1 16:12:38 EDT 2010

> I am using the following script to open a text file for both windows and
> Macintosh. My question is do I need two separate scripts one for the Mac and
> one for for Windows (XP, Vista, Windows 7) with a space instead of an
> underscore?  For example "/S504_Student" for "/S504 Student" for Windows.
> if the_selection is 1
>    then
>       answer file "Open Student file:" with specialFolderPath("documents") &
> "/S504 Student"

No, that should work on all platforms you mentioned.

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

More information about the Use-livecode mailing list