Jump to content

proTester

Members
  • Posts

    5
  • Joined

  • Last visited

proTester's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I think it used to in the early days of ActiveX but now security restrictions would prevent it! I'm looking at building HTAs for testing which run like HTML webpages but locally, without security restrictions.
  2. Thanks, just wanted to know if it was supported. ControlClick() looks interesting. (For dll calls from JScript I'm now using DynamicWrapperX )
  3. OK Thanks, maybe there's another ActiveX wrapper to use dll calls from JScript.
  4. I am trying to find a simple starting point for using postmessage (in JScript but VBscript is ok), for example to click a button in windows Calculator. Is this possible, can anyone provide an example?! Thanks, Alex ------------ PS I think it will go like this, but when I try it I get 'Object doesn't support this property or method'. var shell = new ActiveXObject("WScript.shell"); oAutoIt = new ActiveXObject("AutoItX3.Control"); shell.Run("calc.exe", 1); oAutoIt.Sleep(500); $hwnd = oAutoIt.WinGetHandle("Calculator"); oAutoIt.DllCall("user32.dll", "int", "SendMessage", "hwnd", $hwnd , "int" , 1075 , "int", 2400, "int", 0);
  5. Exactly the same issue here with Synergy (and similarly forgot about this shelfware), lucky I found this!! Thanks
×
×
  • Create New...