Scripting systemWindow

Andrew Kluthe andrew at rjdfarm.com
Tue Mar 2 13:58:34 EST 2010


on mouseUp
   try
      if sSystemWindow is 0 then
         set the systemWindow of this stack to true
         put 1 into sSystemWindow
      else
         set the systemWindow of this stack to false
         put 0 into sSystemWindow
      end if
   catch e
      answer e
   end try
end mouseUp

I have this little guy to allow me to pin a stack on top of everything.

It won't work, it seems like it throws an error because it brings tRev up to
this chunk of code; however, I cannot get this error to display at all. I
searched through the forums and found that someone else had tried almost the
exact same code I did, but on MAC and got a bug. This was in 2006, so surely
we can script systemWindow in windows 7 now.

anyone else have trouble with this or have another snippet for pinning
stacks on top?


Thanks!
Andrew


-- 
View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575500.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list