Here's what I ended up with..Seems to work fine and I don't see any
increase in processor usage on XP.

Script of btn 1 (the "test" button)

on mouseUp
 answer getThing()
end mouseUp

function getThing
 repeat forever
   wait 100 millisecs with messages
   if there is a file "C:/test.txt" then
     put URL ("file:C:/test.txt") into tResult
     delete file "C:/test.txt"
     beep
     exit repeat
   end if
 end repeat
 return tResult
end getThing

Script of btn 2 (the "stop now" button)

on mouseUp
 put "stop Now" into URL("file:C:/test.txt")
end mouseUp
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to