On 3/17/03 11:28 PM, Ken Norris wrote:
Well here I go again. This thing keeps ending up in the stack's background
window instead of the card window.

on mouseUp
  set the defaultFolder to "Doggies"
  answer file empty with filter "JPEGs,*.jpg"
  lock screen
  import paint from file it
  set itemDel to "/"
  cut image (last item of it)
  start editing group "myImageGroup"
  paste image (last item of it)
  send "stop editing" to me in 20 milliseconds
  open window "Practice1" -- **Even with this
  unlock screen
  send "choose browse tool" to me in 20 milliseconds
end mouseUp

...any ideas?

The "stop editing" command needs a background reference. It should be "stop editing bg 'myImageGroup'", or "stop editing this bg". Also, I don't think you need to "send" the "stop editing" command, it should just work inline, but I haven't tested it.


--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to