[jawsscripts] Re: incorrect parameter format

, OT_MESSAGE, that did the trick.

And what a cool script that is!

Ben
At 02:33 PM 11/18/2011, you wrote:
>Hello,
>
>I have a script for following dropbox progress and opening dropbox folder.
>In j12 it works ok, but in 13 it gives me the following error when
>compiling "incorrect parameter format". Would you help me to fix it?
>
>Code:
>
>Script SayDropboxStatus ()
>
>var
>
>int iTrayItems,
>
>int iCounter,
>
>int iMouse,
>
>string sDropboxTip,
>
>string sDropboxVersion
>
>let iTrayItems = SysTrayGetItemCount ()
>
>while iCounter < iTrayItems
>
>let iCounter=ICounter+1
>
>let sDropboxTip = SysTrayGetItemToolTip (iCounter)
>
>if stringLeft(sDropboxTip,7) == "dropbox" then
>
>let iMouse = iCounter
>
>let iCounter = 12345
>
>endIf
>
>endwhile
>
>if iCounter != 12345 then
>
>say("Dropbox not found", ) //here's the error
>
>return
>
>endIf
>
>if IsSameScript() == 1 then
>
>sayUsingVoice(vctx_message,"Opening your Dropbox",ot_no_disable)
>
>saveCursor()
>
>SysTrayMoveToItem (iMouse)
>
>LeftMouseButton ()
>
>leftMouseButton()
>
>restoreCursor()
>
>return
>
>endIf
>
>let sDropboxTip = stringSegment(sDropboxTip,"\n",2)
>
>sayUsingVoice(vctx_message,sDropboxTip,ot_no_disable)
>
>EndScript
>
>CodeEnd
>Negoslav
>
>__________�
>
>View the list's information and change your settings at
>http://www.freelists.org/list/jawsscripts

__________�

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

Other related posts: