>>>lox=Createobject('internetexplorer.application') >>>lox.Navigate('http://www.someurl.com/somepage') >>>if navcomplete(lox,lntime) >>> ** Press shift key >>> lox.document.all.Main.contentWindow.document.all.minf0.click() >>>Endif>>>Can someone help me with code to simulate that the shift key is pressed?
>#DEFINE VKK_SHIFT 0x0010 && SHIFT KEY? >#DEFINE VKK_CONTROL 0x0011 && CONTROL KEY? >#DEFINE VKK_MENU 0x0012 && ALT KEY? >#DEFINE VKK_START 0x005B && START KEY? (Win Key) >#DEFINE KEYEVENTF_KEYUP 0x0002 && KEY UP >DECLARE keybd_event IN WIN32API ; > INTEGER uVK, INTEGER uHardK, ; > INTEGER dwdata, INTEGER dwextra >keybd_event(VKK_SHIFT,0, 0, 0) >lox.document.all.Main.contentWindow.document.all.minf0.click()I wish I read this before I posting :o)