[jawsscripts] Re: script compiling error

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 14 Sep 2010 23:20:00 -0700

Well that was evidently ineffective as well. Uh, ahem, I guess this
list doesn't accept attachments. Bharat, I'll reply privately cuz I'm
gettin' sick of just a blank message going out.

On 9/14/10, Jackie McBride <abletec@xxxxxxxxx> wrote:
> I'm sure havin a heck of a time w/my copy-&-paste disappearing.
> Solution: NVDA! Sad when it seems one can't use expensive
> screenreaders for such mundane tasks.
>
> 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",ot_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
>
>
> On 9/14/10, Jackie McBride <abletec@xxxxxxxxx> wrote:
>> 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",ot_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
>>
>>
>> On 9/14/10, Jackie McBride <abletec@xxxxxxxxx> wrote:
>>> Ok, well, for whatever reason, this cut & paste is not working:
>>> 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",ot_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
>>>
>>>
>>> On 9/14/10, Jackie McBride <abletec@xxxxxxxxx> wrote:
>>>> 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",ot_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
>>>>
>>>>
>>>> On 9/14/10, Jackie McBride <abletec@xxxxxxxxx> wrote:
>>>>> 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",ot_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
>>>>>
>>>>>
>>>>> On 9/14/10, bharatvaya <bharatvaya@xxxxxxxxx> wrote:
>>>>>> hi I am getting compiling error in dropbox. somebody wrote something
>>>>>> is
>>>>>> rong
>>>>>> around save cursor but I don't know how to solve that because I am
>>>>>> unable
>>>>>> to
>>>>>> figure it out can anybody do it for me? I am pasting the code bellow.
>>>>>> ;start copying from this line: Dropbox 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",ot_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
>>>>>>
>>>>>> ;this is the end of the Dropbox code
>>>>>> bharat vaya
>>>>>> __________�
>>>>>>
>>>>>> View the list's information and change your settings at
>>>>>> //www.freelists.org/list/jawsscripts
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Change the world--1 deed at a time
>>>>> Jackie McBride
>>>>> Scripting Classes: http://jawsscripting.lonsdalemedia.org
>>>>> homePage: www.abletec.serverheaven.net
>>>>> For technophobes: www.technophoeb.com
>>>>>
>>>>
>>>>
>>>> --
>>>> Change the world--1 deed at a time
>>>> Jackie McBride
>>>> Scripting Classes: http://jawsscripting.lonsdalemedia.org
>>>> homePage: www.abletec.serverheaven.net
>>>> For technophobes: www.technophoeb.com
>>>>
>>>
>>>
>>> --
>>> Change the world--1 deed at a time
>>> Jackie McBride
>>> Scripting Classes: http://jawsscripting.lonsdalemedia.org
>>> homePage: www.abletec.serverheaven.net
>>> For technophobes: www.technophoeb.com
>>>
>>
>>
>> --
>> Change the world--1 deed at a time
>> Jackie McBride
>> Scripting Classes: http://jawsscripting.lonsdalemedia.org
>> homePage: www.abletec.serverheaven.net
>> For technophobes: www.technophoeb.com
>>
>
>
> --
> Change the world--1 deed at a time
> Jackie McBride
> Scripting Classes: http://jawsscripting.lonsdalemedia.org
> homePage: www.abletec.serverheaven.net
> For technophobes: www.technophoeb.com
>


-- 
Change the world--1 deed at a time
Jackie McBride
Scripting Classes: http://jawsscripting.lonsdalemedia.org
homePage: www.abletec.serverheaven.net
For technophobes: www.technophoeb.com
__________�

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

Other related posts: