I think I'll go with Cookie's code anyway, much better than mine. If this is an issue with WLM 2011, then we can just set the X and Y values to 0, instead of the original position. Must be something to do with child windows or something...
Edit: this isn't something to do with Plus! tabbed chats, is it?
This post was edited on 05-08-2011 at 01:05 PM by whiz.
I've tried your code with only one chat window open and tabs disabled completely. Still, the window goes off-screen. The direction seems random though. The chat window moves off-screen in a direction that is a multiple of 45 degrees.
I don't think so. I've tried various sizes and positions, it just keeps disappearing off the screen. It moves to the bottom-right corner of the screen.
Dunno if you're into physics, but it seems like an accelerated motion: it starts off slowly, then goes faster and faster (like 1/2 * a * t^2).
I've implemented the shake feature with a compatibility mode. By default, it uses Cookie's code, but if that doesn't work, check the 'Broken' option to set X and Y to 0 (instead of the relative position of the window)...
Any other suggestions for the script?
quote:Originally posted by SmokingCookie
Dunno if you're into physics, but it seems like an accelerated motion: it starts off slowly, then goes faster and faster (like 1/2 * a * t^2).
Yeah, I do A-level physics so I know what you mean. Certainly strange behaviour, though...
Here's an example of how the script works in a conversation (I've highlighted events that occur, which otherwise wouldn't be visible from a conversation alone).
Spoiler:
quote:WhizWeb Community says (20:56)
hi
John says (20:56)
hello
WhizWeb Community says (20:57)
brb
*changes status to away, Voicemail auto-enables*
John says (21:10)
you back yet?
WhizWeb Community says (21:10)
[Voicemail] This is WhizWeb Community's voicemail. WhizWeb Community is currently away, or otherwise not available at the moment.
To leave a message for later, send !message <message>.
To attract WhizWeb Community's attention, send !attention.
To be alerted when WhizWeb Community returns, send !return.
John says (21:10)
!return
WhizWeb Community says (21:10)
[Voicemail] A notification has been set - you will be notified when voicemail is disabled. You can clear this notification by sending !return again.
John says (21:12)
still not back?
WhizWeb Community says (21:12)
[Voicemail] This is WhizWeb Community's voicemail. WhizWeb Community is currently away, or otherwise not available at the moment.
To leave a message for later, send !message <message>.
To attract WhizWeb Community's attention, send !attention.
To be alerted when WhizWeb Community returns, send !return.
John says (21:12)
!message can't hang around, but need to tell you something... will discuss it tomorrow
*message sound plays*
WhizWeb Community says (21:12)
[Voicemail] Your message has been stored successfully.
John says (21:13)
!attention
*displays toast/alert, plays alert sound, shakes window (as per settings)*
WhizWeb Community says (21:14)
[Voicemail] Your request for attention has timed out or was denied - please try again later.
WhizWeb Community says (21:17)
back...
*changes status to online, Voicemail auto-disables*
WhizWeb Community says (21:18)
[Voicemail] Voicemail appears to have been disabled now...
*message reminder toast/sound*
A venture into the Script Menu, shows one unread message, which, when clicked...
Attachment:Voicemail Message.png (28.77 KB) This file has been downloaded 126 time(s).