AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 30 matches
AutoHotkey Community Forum Index
Author Message
  Topic: How to force using same Internet Explorer Window session?
paulwarr

Replies: 7
Views: 1278

PostForum: Ask for Help   Posted: Sat Mar 29, 2008 4:10 pm   Subject: How to force using same Internet Explorer Window session?
I am trying to do the same thing without the search. After login in with my user name and password, i need to be able to create a new window under same session. I am using IE7....

So, basically, i ...
  Topic: How to: Run Dynamic Script... Through a Pipe!
paulwarr

Replies: 32
Views: 4608

PostForum: Scripts & Functions   Posted: Tue Mar 25, 2008 6:39 pm   Subject: How to: Run Dynamic Script... Through a Pipe!
How that differs from normal cracking ?It doesn't. Once the code's released in the pipe, it's got to be presumed to be crackable. What one can do, though, is take care that sensitive code doesn't get ...
  Topic: getDefaultInternetClient() / Browser from Registry
paulwarr

Replies: 7
Views: 649

PostForum: Scripts & Functions   Posted: Tue Mar 25, 2008 2:18 pm   Subject: getDefaultInternetClient() / Browser from Registry
Anybody try this on Vista or on an "older than XP" OS?Works on Vista, IE7. Haven't tried with either FireFox or Opera configured as default browser, however.
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Sun Mar 23, 2008 12:59 pm   Subject: Embed an Internet Explorer control in your AHK Gui via COM
I did changed it a little.This is great! One change (to take "Del" key into account):If (wParam = 0x09 || wParam = 0x0D || wParam = 0x2E) ; tab, enter, del keysAnd the IOleInPlaceAc ...
  Topic: COM_InvokeDeep - climb a COM tree more easily
paulwarr

Replies: 4
Views: 2383

PostForum: Scripts & Functions   Posted: Sat Mar 22, 2008 2:01 pm   Subject: COM_InvokeDeep - climb a COM tree more easily
Thanks! But all I did was tweak what you and wOxxOm had already posted. And thankfully, Lexikos has a much better eye for code than I do! Very Happy
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Sat Mar 22, 2008 12:22 am   Subject: Embed an Internet Explorer control in your AHK Gui via COM

That's normal, default handling of {TAB} of a dialog box, navigating among the controls. You can observe what I mean in the open/save dialog boxes. You must disable or replace the default handling w ...
  Topic: COM_InvokeDeep - climb a COM tree more easily
paulwarr

Replies: 4
Views: 2383

PostForum: Scripts & Functions   Posted: Fri Mar 21, 2008 8:58 pm   Subject: COM_InvokeDeep - climb a COM tree more easily
COM_InvokeDeep(res, dotted-path, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
(pBody2 := COM_InvokeDeep(pweb, "document.framespBody2 returns a pointer to the body portion of the HTML document ...
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Fri Mar 21, 2008 6:10 pm   Subject: Embed an Internet Explorer control in your AHK Gui via COM
You may use OnMessage instead then.
I added a check for the {Tab} key to your code as well - disheartening results:WM_KEYDOWN(wParam, lParam, nMsg, hWnd)
{
WinGetClass, Class, ahk_i ...
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Thu Mar 20, 2008 6:18 pm   Subject: Embed an Internet Explorer control in your AHK Gui via COM
which is why you could add a check with MouseGetPos and/or ControlGetFocus to the code to make sure it is only used when the IE control is active.

:wink:Sounds like you're familiar with this issue ...
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Thu Mar 20, 2008 5:24 pm   Subject: Embed an Internet Explorer control in your AHK Gui via COM
{Enter} may be solved easily using Hotkey. {Tab} part is tricker, however.
#IfWinActive, Title ahk_class AutoHotkeyGUI
~Enter::PostMessage, 0x102, 0xD, 0x001C0001, Internet Explorer_Server1, ...
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Thu Mar 20, 2008 12:39 pm   Subject: Embed an Internet Explorer control in your AHK Gui via COM
pseudo-code

#IfWinActive parentWindow

$Enter::
MouseGetPos ; to check whether you are in/over the IE control
;if you are
ControlSet ; focus
Send {Enter}
Return

...
  Topic: Javascript on a webpage - possible to evaluate result ?
paulwarr

Replies: 24
Views: 1398

PostForum: Ask for Help   Posted: Thu Mar 20, 2008 11:51 am   Subject: Javascript on a webpage - possible to evaluate result ?
You missed the one in the inner-most else. Smile
Argh! My evil twin Twisted Evil is getting quite out of hand.... Fixed now - and again, thanks for the catch! Smile
  Topic: Embed an Internet Explorer control in your AHK Gui via COM
paulwarr

Replies: 193
Views: 27562

PostForum: Scripts & Functions   Posted: Wed Mar 19, 2008 8:13 pm   Subject: Re: Losing Enterkey in embeded Internet Explorer
4) but the {Enter} key doesn't working in embeded IE
i can't even send a word, i can't communicate :<
The failure of {tab} and {enter} keys (among others) to work as expected is a known problem f ...
  Topic: Javascript on a webpage - possible to evaluate result ?
paulwarr

Replies: 24
Views: 1398

PostForum: Ask for Help   Posted: Wed Mar 19, 2008 6:22 pm   Subject: Javascript on a webpage - possible to evaluate result ?
...and I found another bug ... should be one of:
If A_Index < %PathCt%
If (A_Index < PathCt) Embarassed Fixed now - in both places.
Also, under If (prop = "item")..., it seems r ...
  Topic: DirectCast - is there a COM_Invoke equivalent?
paulwarr

Replies: 0
Views: 125

PostForum: Ask for Help   Posted: Wed Mar 19, 2008 4:45 pm   Subject: DirectCast - is there a COM_Invoke equivalent?
Is there a COM_Invoke equivalent to VB's "DirectCast" functionality? The following code is VB:

Dim myDocument As mshtml.HTMLDocument = DirectCast(AxWebBrowser1.Document, mshtml.HTMLDo ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group