XP and ask/answer file commands.

Ken Ray kray at sonsothunder.com
Thu Feb 27 14:22:01 EST 2003


This was something that was not working properly in 1.1.1, I believe.
The MC engine for 2.0 includes the fix to that bug.

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

----- Original Message -----
From: "Ray Bennett" <smilingeyes at mac.com>
To: <use-revolution at lists.runrev.com>
Sent: Thursday, February 27, 2003 12:43 PM
Subject: XP and ask/answer file commands.


> XP seems to ignore my request to set a default directory where the
user
> will be when I ask them to open a file.   OS X / OS 9 both doing just
> what I'd expect.  XP always goes to where it was last.
>
> Help?
>
> code sample....
>
> put the _workingPath of stack "Fred" & "d_BRK Files/" into thePath
>    put "*.brk" into theFilters
>
>    if the platform = "Win32" then
>      answer file "Select a  .brk  file:" with thePath with filter
> theFilters
>    else
>      --
>      answer file "Select a   .brk    file: " with thePath
>    end if
>
>
> the _workingPath property is my application equivalent of the
> "defaultfolder" and does end in a "/"
>
> The dialog box displayed on the XP box is always wherever I was last.
> Is the code incorrect?
>
> Thanks.
> Ray
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list