Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
holding a button down for a certain time
#2
Not Solved
Hi tbakk53,

You can use Type method and use the micshift or what ever button you want to press.

Code:
SwfWindow("Window").SwfTable("Table").Type micShiftDwn 'To press the shift key down
SwfWindow("Window").SwfTable("Table").Type micShiftUp  'To release the pressed key. Don't forget this LOC

Please let me know if you need any more info.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: holding a button down for a certain time - by supputuri - 07-26-2010, 07:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to test clicking and holding a mouse button for a certain amount of time? smellybutt 0 2,628 03-11-2009, 11:53 PM
Last Post: smellybutt
  QTP Results file holding my Network password justatester 1 2,248 06-04-2008, 01:43 AM
Last Post: FredMan

Forum Jump:


Users browsing this thread: 1 Guest(s)