SendKeys.Send Alternative?

with a little bit of different functions

Page 1 of 1

5 Replies - 3439 Views - Last Post: 23 July 2009 - 12:24 PM Rate Topic: -----

#1 Yaroslav94  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 15-July 09

SendKeys.Send Alternative?

Post icon  Posted 23 July 2009 - 10:55 AM

Hello,

I always used SendKeys.send...but know I'm wondering if i can do the same thing without having to keep focus on it....

example:

Make autotyper...I have to keep focus on it or else it will not work, is there any way to do the same thing without a recruitment of FOCUS??

 sendkeys.send(tx1.text & "{ENTER}")
' is thr??



Is This A Good Question/Topic? 0
  • +

Replies To: SendKeys.Send Alternative?

#2 T3hC13h  Icon User is offline

  • D.I.C Regular

Reputation: 65
  • View blog
  • Posts: 337
  • Joined: 05-February 08

Re: SendKeys.Send Alternative?

Posted 23 July 2009 - 11:13 AM

Just call the event handler that is called by pressing enter.
Was This Post Helpful? 0
  • +
  • -

#3 Yaroslav94  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 15-July 09

Re: SendKeys.Send Alternative?

Posted 23 July 2009 - 11:16 AM

View PostT3hC13h, on 23 Jul, 2009 - 10:13 AM, said:

Just call the event handler that is called by pressing enter.


My point is - I wanna leave the autotyper on, and go do something else on the same computer...
Was This Post Helpful? 0
  • +
  • -

#4 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1043
  • View blog
  • Posts: 4,057
  • Joined: 02-July 08

Re: SendKeys.Send Alternative?

Posted 23 July 2009 - 11:27 AM

Do you mean make a button click without clicking on it?
'keypress event
If Asc(e.KeyChar) = Keys.Enter Then
	 button1.PerformClick()
End If

Was This Post Helpful? 0
  • +
  • -

#5 Yaroslav94  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 15-July 09

Re: SendKeys.Send Alternative?

Posted 23 July 2009 - 11:38 AM

View Posthawkvalley1, on 23 Jul, 2009 - 10:27 AM, said:

Do you mean make a button click without clicking on it?
'keypress event
If Asc(e.KeyChar) = Keys.Enter Then
	 button1.PerformClick()
End If

I mean a spammer or something...but u know how u need to focus on the windows ure spamming...well how can i do the same things without focusing at all...it will just do it for me?
Was This Post Helpful? 0
  • +
  • -

#6 T3hC13h  Icon User is offline

  • D.I.C Regular

Reputation: 65
  • View blog
  • Posts: 337
  • Joined: 05-February 08

Re: SendKeys.Send Alternative?

Posted 23 July 2009 - 12:24 PM

If you typing into another application then you wont be able to do that.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1