[jawsscripts] Re: Lotus Note Sametime Connect

  • From: "Rui Fontes" <rui.fontes@xxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 9 Apr 2009 16:14:59 +0100

Ok, thanks.

I have created a script to announce the existence of a conversation 
requiring atention... However, I think I haven't used the best possible 
ways, so I am going to post the code below, to ask someone to tell me how I 
should have done... They work, that's not the problem, but I want to learn 
to write better scripts...

Void Function CheckForUrgentSametime ()

var

Handle hWnd,

Int N,

String List



,to determine the handle of Taskbar... should exist a better way...

SaveCursor ()

JawsCursor ()

SetRestriction (RESTRICTNONE)

JawsHome ()

JawsPageDown ()

NextWord ()

Let hWnd = GetCurrentWindow ()



;Obtaining the list of objects in Taskbar to check if one of them is the 
conversation window, that have "started" in the name

Let List = GetListOfObjects (hWnd , ";")

Let N = StringContains (list , "started")

If N >= 1 Then ; It means that the window exists...

SayString ("You have a conversation waiting")

EndIf ; The conversation window does not exist, so don't do nothing...

RestoreCursor () ; To put again the active cursor in the same place that 
before running...

ScheduleFunction ("CheckForUrgentSametime" , 600) ; to check once a minut 
...

EndFunction



Script CalendarizarCheckUrgentSametime ()

ScheduleFunction ("CheckForUrgentSametime" , 600) To initialize the previous 
function... It can be placed in AurtoStartEvent...

EndScript



Regards,



Rui





----- Original Message ----- 
From: <Gordon.Luke@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, April 09, 2009 2:14 PM
Subject: [jawsscripts] Re: Lotus Note Sametime Connect


Hi

Yes - kind of.  I've upgraded to Notes 8 and the version of SameTime that
comes with it works much better.  I still don't like Notes itself but at
least I'm not suffering from machine slowdown.

Thanks

Gordon Luke
Capita IT (CAIM)






  [jawsscripts] Lotus Note Sametime Connect



   Rui Fontes
              to:
                jawsscripts
                                                             08/04/09 17:39




   Sent by:
          jawsscripts-bounce@xxxxxxxxxxxxx
  Please respond to jawsscripts









Hello Gordon,

Have you solved your problem of knowing when someone wants to talk with
you?

Rui Fontes

__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts





------------------------------------------------------------
This email is confidential and should not be used by anyone who is not
the original intended recipient. Prudential cannot accept liability
for statements made which are clearly the sender's own and not made
on behalf of the Prudential. In addition, no statement should be
construed as giving investment advice within or outside the United
Kingdom

Prudential plc, incorporated and registered in England and Wales.
Registered Office at Laurence Pountney Hill, London, EC4R 0HH.
Registered number 1397169. Prudential plc is a holding company,
subsidiaries of which are authorised and regulated by the Financial
Services Authority (FSA)

'Prudential' is a trading name of The Prudential Assurance Company
Limited, which is incorporated and registered in England and Wales.
Registered Office at Laurence Pountney Hill, London, EC4R 0HH.
Registered number 15454. Authorised and regulated by the Financial
Services Authority. 'Prudential' is also used by other companies within
the Prudential Group, which between them provide a range of financial
products including life assurance, pensions, savings and investment
products

'Prudential' is also a trading name of Prudential Distribution Limited,
which is incorporated and registered in Scotland.  Registered Office at
Craigforth, Stirling, FK9 4UE.  Registered number SC212640. Authorised
and regulated by the Financial Services Authority.

A list of other Prudential companies together with their registered
statutory details can be found in 'About Prudential' on 
http://www.prudential.co.uk

An email reply to this address may be subject to interception or
monitoring for operational reasons or for lawful business practices.

------------------------------------------------------------
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: