Win-Mac differences

Scott Kinder scott at mail.bc.edu
Fri Jun 13 10:09:34 EDT 2003


Hi Rev Listers,

This script works on Mac OSX but not on WinXP Pro.  On the Mac, you see the diskspace slowly counting down, on Windows a zero is placed in the spaceremaining field.  Subsequently entering the "put the diskSpace..." line of code into the message box seems to work fine.

on mouseUp
  ask file "filename"
  record sound file it
  repeat until the mouseclick
    put the diskSpace div (1024^2) into fld "spaceremaining"
  end repeat
  stop recording
end mouseUp

I tried this in an 'on idle' handler with similar results.  Is there a different way to do this on Windows?

Thanks!
Scott Kinder



More information about the use-livecode mailing list