Ranorex

SendKeys but hold down key for X seconds?

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet
View previous topic :: View next topic  
Author Message
daluu



Joined: 12 Jun 2007
Posts: 10

PostPosted: Mon Jul 09, 2007 10:36 pm    Post subject: SendKeys but hold down key for X seconds?
SendKeys is very useful but is there a way to send key and keep it held down for X number of seconds?

For the application I am automating from, I can probably use Mouse action to click and hold down the virtual keypad on the screen (haven't really looked into the relevant Mouse class method for this option yet.)

Still, I would much prefer to be able to send a key & keep it held for X seconds.

Hope you will add this feature (if it doesn't already exist) to the next release of Ranorex.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Mon Jul 09, 2007 11:40 pm    Post subject:
Quote:
I would much prefer to be able to send a key & keep it held for X seconds.

Which key do you want to hold down for X seconds?

Jenö
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
daluu



Joined: 12 Jun 2007
Posts: 10

PostPosted: Tue Jul 10, 2007 2:04 am    Post subject:
Ideally, I would like to hold down any key (that SendKeys could send) for X seconds. Perhaps you could make a new overloaded method for SendKeys that takes a parameter for holding down key for X seconds?
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Tue Jul 10, 2007 11:53 pm    Post subject:
We discussed this topic today and decided to support this feature in the next version.

Jenö
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
daluu



Joined: 12 Jun 2007
Posts: 10

PostPosted: Wed Jul 11, 2007 2:22 am    Post subject:
Thanks. That would be great.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum