Keep in mind when naming global variables that there is only one globals area in JAWS. Therefore, all applications that have been started since JAWS was started will retain all global values. Global varuables are nit only available to other scripts and functions in your application, but are available to all scripts and functions. You can get very strange results ig you inadvertently pivk a global variablre name already in use. So be careful not to use generic names and certainly do not reuse global names on more than one application. You might want to use a few extra characters specific to that application. The global I use for my Verizon application for the sane purpose is giVZFirstTime. Don Marang ----- Original Message ----- From: "Steven Hicks(HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Thursday, April 09, 2009 2:17 AM Subject: [jawsscripts] Re: Scripting System Tray icons > Hi, > > not sure if you can help any further, when I boot my machine up, for some > strange reason, the Wireless network connection icon in the system tray > doesn't seem to show up. I have checked and it is set up on the task bar > to > always show. If I go in to the task bar and arrow down to always show > which > it is on already then click o.k. for some odd reason, it then appears back > in the system tray again. > > ----- Original Message ----- > From: "James Scholes" <james@xxxxxxxxxxxxx> > To: "Sean Randall" <jawsscripts@xxxxxxxxxxxxx> > Sent: Friday, April 03, 2009 4:35 PM > Subject: [jawsscripts] Re: Scripting System Tray icons > > >> Try the following script (note that this only works if you have 1 active >> wireless connection): >> --Script Code Starts Here-- >> ;Based on the Script SayBatteryLevel () >> ; Originally written by S. Dawes >> var >> int Index, >> int iFound, >> String STItem >> Let Index = SysTrayGetItemCount () >> While (Index >= 1) >> Let STItem = SysTrayGetItemToolTip (Index) >> If StringContains (STItem, "Wireless Network Connection") then >> SayMessage (ot_status, STItem ) >> Let Index = 0 >> Let iFound = TRUE; >> Else >> Let Index = Index - 1 >> EndIf >> EndWhile >> If ! iFound then >> SayFormattedMessage (OT_ERROR, "Wireless Network Connection status could >> not be retrieved") >> EndIf >> --Script Code Ends Here-- >> >> >> --This message is a reply to Sean Randall. The subject of the original >> message was '[jawsscripts] Re: Scripting System Tray icons'. Original >> message text has been omitted.-- >> >> JLS Radio is no more! Instead, check out my new blog at: >> http://www.jls-radio.com >> -- >> James Scholes >> -- >> Contact Details >> -- >> E-mail: james@xxxxxxxxxxxxxxxx >> MSN/Windows Live Messenger: jamesscholes@xxxxxxx >> AIM: JamesScholes000 >> Skype: james.scholes >> -- >> Social Networks >> -- >> Twitter: http://www.twitter.com/jamesscholes >> Find me on Facebook! Username: jamesscholes >> Link to Facebook profile: >> http://www.facebook.com/profile.php?id=1375965156&hiq=jamesscholes >> Last.FM Profile: http://www.last.fm/user/jamesscholes000 >> -- >> Message sent at 04:31:25 PM GMT on Friday, April 03, 2009 >> >> __________ >> 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 > __________ 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