SendKeys Tab 
Author Message
 SendKeys Tab

I am trying to create a script to use with SmartBoardXP (a clipboard
extension program that can use VBScript). I would like it to tab twice in my
application and then send the item from the "clipboard" - Input. Here is my
code.

Function Main(Input)

Dim WshShell, objEnv

' get the shell object
 Set WshShell = CreateObject ("WScript.Shell")

' get the collection using the Environment property
 Set objEnv = WshShell.Environment("Process")

WshShell.SendKeys ("{TAB 2}")

Main=Input

End Function

Please help.

Thanks,

KS



Mon, 28 Nov 2005 03:33:34 GMT  
 SendKeys Tab
KS -

what's the problem?

Quote:

> I am trying to create a script to use with SmartBoardXP (a clipboard
> extension program that can use vbscript). I would like it to tab twice
> in my application and then send the item from the "clipboard" - Input.
> Here is my code.

> Function Main(Input)

> Dim WshShell, objEnv

> ' get the shell object
>  Set WshShell = CreateObject ("WScript.Shell")

> ' get the collection using the Environment property
>  Set objEnv = WshShell.Environment("Process")

> WshShell.SendKeys ("{TAB 2}")

> Main=Input

> End Function

> Please help.

> Thanks,

> KS

--
Please respond in the newsgroup so everyone may benefit.
 http://dev.remotenetworktechnology.com
(email requests for support contract information welcomed)
 ----------
 Microsoft's new UNIFIED Terminal Services Newsgroup:



Mon, 28 Nov 2005 10:04:44 GMT  
 SendKeys Tab
Maybe its the fact that the tab's are going astray for the
lack of an AppActivate?

Tom Lavedas
===========

Quote:
>-----Original Message-----
>KS -

>what's the problem?


>> I am trying to create a script to use with SmartBoardXP
(a clipboard
>> extension program that can use vbscript). I would like
it to tab twice
>> in my application and then send the item from

the "clipboard" - Input.
Quote:
>> Here is my code.

>> Function Main(Input)

>> Dim WshShell, objEnv

>> ' get the shell object
>>  Set WshShell = CreateObject ("WScript.Shell")

>> ' get the collection using the Environment property
>>  Set objEnv = WshShell.Environment("Process")

>> WshShell.SendKeys ("{TAB 2}")

>> Main=Input

>> End Function

>> Please help.

>> Thanks,

>> KS

>--
>Please respond in the newsgroup so everyone may benefit.
> http://dev.remotenetworktechnology.com
>(email requests for support contract information welcomed)
> ----------
> Microsoft's new UNIFIED Terminal Services Newsgroup:

>.



Mon, 28 Nov 2005 22:23:13 GMT  
 SendKeys Tab
I get into trouble when I start assuming things, though. :)

Quote:

> Maybe its the fact that the tab's are going astray for the
> lack of an AppActivate?

> Tom Lavedas
> ===========

>> -----Original Message-----
>> KS -

>> what's the problem?


>>> I am trying to create a script to use with SmartBoardXP (a clipboard
>>> extension program that can use vbscript). I would like it to tab twice
>>> in my application and then send the item from
> the "clipboard" - Input.
>>> Here is my code.

>>> Function Main(Input)

>>> Dim WshShell, objEnv

>>> ' get the shell object
>>>  Set WshShell = CreateObject ("WScript.Shell")

>>> ' get the collection using the Environment property
>>>  Set objEnv = WshShell.Environment("Process")

>>> WshShell.SendKeys ("{TAB 2}")

>>> Main=Input

>>> End Function

>>> Please help.

>>> Thanks,

>>> KS

>> --
>> Please respond in the newsgroup so everyone may benefit.
>> http://dev.remotenetworktechnology.com
>> (email requests for support contract information welcomed)
>> ----------
>> Microsoft's new UNIFIED Terminal Services Newsgroup:

>> .

--
Please respond in the newsgroup so everyone may benefit.
 http://dev.remotenetworktechnology.com
(email requests for support contract information welcomed)
 ----------
 Microsoft's new UNIFIED Terminal Services Newsgroup:



Tue, 29 Nov 2005 00:10:52 GMT  
 SendKeys Tab
Tom,

You may be on the right track with this. It goes back to the initial program
but pastes in the "clipboard" text, but never enters the {tab} keystrokes.
It enters the text in the field where the cursor is positioned.

Thanks for your help.


Quote:
> Maybe its the fact that the tab's are going astray for the
> lack of an AppActivate?

> Tom Lavedas
> ===========

> >-----Original Message-----
> >KS -

> >what's the problem?


> >> I am trying to create a script to use with SmartBoardXP
> (a clipboard
> >> extension program that can use vbscript). I would like
> it to tab twice
> >> in my application and then send the item from
> the "clipboard" - Input.
> >> Here is my code.

> >> Function Main(Input)

> >> Dim WshShell, objEnv

> >> ' get the shell object
> >>  Set WshShell = CreateObject ("WScript.Shell")

> >> ' get the collection using the Environment property
> >>  Set objEnv = WshShell.Environment("Process")

> >> WshShell.SendKeys ("{TAB 2}")

> >> Main=Input

> >> End Function

> >> Please help.

> >> Thanks,

> >> KS

> >--
> >Please respond in the newsgroup so everyone may benefit.
> > http://dev.remotenetworktechnology.com
> >(email requests for support contract information welcomed)
> > ----------
> > Microsoft's new UNIFIED Terminal Services Newsgroup:

> >.



Tue, 29 Nov 2005 03:50:33 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. SendKeys {TAB} Results in Input Cursor Disappearance

2. Sendkeys {TAB}

3. Sendkeys {TAB}

4. Sendkeys and CONTROL+TAB on a tabbed dialog

5. TAB not working with SendKeys

6. can't send tab with sendkeys

7. using SENDKEYS to invoke TAB key within Task form

8. sendKeys("{Tab}") to another form

9. SendKeys "{tab}" doesn't work

10. SendKeys "{TAB ??}"

11. Using Sendkeys to send a Control-Tab

12. SendKeys("{TAB}") catches depressed Shift-Key

 

 
Powered by phpBB® Forum Software