Search found 177 matches

by jethrow
12 Oct 2013, 17:15
Forum: Ask For Help
Topic: COM_L Inject javascript
Replies: 35
Views: 18490

Re: COM_L Inject javascript

If I tell you that myL VARIABLE can come from my server or my hard drive, and be 23000 lines long, that's lines not characters, and I can update those js files at anytime. are you still satisfied with your answer.? Again, are you talking about executing javascript, or including js files in the reso...
by jethrow
12 Oct 2013, 13:39
Forum: Ask For Help
Topic: COM_L Inject javascript
Replies: 35
Views: 18490

Re: COM_L Inject javascript

wb := WBGet() ; www.autohotkey.com/board/topic/47052-basic-webpage-controls-with-javascript-com-tutorial/ document := wb.document window := document.parentWindow window.alert("something") document.activeElement.focus() MsgBox % "Document Title: " document.title . "`nActive TagName: " document.activ...
by jethrow
12 Oct 2013, 01:00
Forum: Ask For Help
Topic: AutoHotKey & SQL in a separate file...
Replies: 7
Views: 3419

Re: AutoHotKey & SQL in a separate file...

If you want an answer, you will prolly need to ask again & give more detail. For instance, and it may just be my ignorance, but the following statement doesn't make sence outside of your mind: Is there any way to get the variable to recreate itself when I need it, thereby discovering the newly creat...
by jethrow
11 Oct 2013, 22:17
Forum: Ask For Help
Topic: COM_L Inject javascript
Replies: 35
Views: 18490

Re: COM_L Inject javascript

myL = ( alert("something"); alert(something else"; //a javascript comment //... a mile long javascript with functions, vars, vars from ahk, document writes, returning vars from webpage, whatever. Millions of js code are available also. ) This way I can write pure javascript instead of always figuri...
by jethrow
11 Oct 2013, 21:56
Forum: Offtopic
Topic: Test your Forum Posts
Replies: 392
Views: 147252

Re: Test your Forum Posts

Sweet - can finally have syntax highlighting on my autoit code :D

Code: Select all

RegWrite("HKEY_CURRENT_USER\Software\Test", "TestKey", "REG_SZ", "Hello this is a test")
by jethrow
11 Oct 2013, 19:02
Forum: Scripts and Functions
Topic: Drawing & Handwriting Objects. Great for touchscreen devices
Replies: 21
Views: 11113

Re: COM INK control issues. KeyUp, KeyDown and KeyPress

I haven't seen anyone else use the InkEd Control with AHK yet, so you are providing the ground-breaking code. That being said, the keypress event is working fine - you're just not understanding the parameters. I might recommend setting up an event listener: ComObjConnect(ink, new ink_events) class i...
by jethrow
11 Oct 2013, 00:56
Forum: Ask For Help
Topic: COM_L Inject javascript
Replies: 35
Views: 18490

Re: COM_L Inject javascript

How you doin? I woke up this morning ... so great. ... I mentioned COM_L to specify I want the AHK_L answer instead of the old AHK basic version. The COM_L library has been depreciated for years since native COM support was introduced, and AHK_L has officially been AHK (v1.1+) since it was upgraded...
by jethrow
07 Oct 2013, 20:13
Forum: Ask For Help
Topic: COM_L Inject javascript
Replies: 35
Views: 18490

Re: COM_L Inject javascript

If you're using AHK v1.1+, then there is no convincing reason to use COM_L over the native COM functionality. As far as executing javascript, you can either navigate to it, or use the execScript method of the window object.
by jethrow
04 Oct 2013, 11:46
Forum: Ask For Help
Topic: ActiveX doesn't respond to Del Key.
Replies: 14
Views: 6551

Re: ActiveX doesn't respond to Del Key.

Joe wrote:Then these lines may be removed from init block, they are twice in init and WM_KEYDOWN ...
Yep - didn't think about that. I'll update this sometime this weekend.
by jethrow
03 Oct 2013, 23:05
Forum: Announcements
Topic: Permanent Domain
Replies: 183
Views: 136554

Re: Permanent Domain

How much would it cost to get both? Might be worthwhile, even if the .com is just a redirect.
by jethrow
03 Oct 2013, 22:31
Forum: Ask For Help
Topic: ActiveX doesn't respond to Del Key.
Replies: 14
Views: 6551

Re: ActiveX doesn't respond to Del Key.

tank wrote:nnnik
sinkfaze was reposting the COM Reference and i was reminded i had posted the exact solution to your problem in my post

http://auto-hotkey.com/boards/viewtopic.php?p=601#p601
fyi - I put the better WM_KEYDOWN function (modeled after lexikos' code) in the main code example.
by jethrow
03 Oct 2013, 22:27
Forum: Ask For Help
Topic: ActiveX doesn't respond to Del Key.
Replies: 14
Views: 6551

Re: ActiveX doesn't respond to Del Key.

Joe wrote:I got it to work for physical key presses, but do not know how to link "send {del}" to WM_KEYDOWN.
I'm not sure why {del} isn't working by itself, but you can do the following:

Code: Select all

Send {del down}{del up}
by jethrow
03 Oct 2013, 22:20
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4445
Views: 1058083

Re: « What's on your mind? »

Just a though ... not sure if it's been mentioned - but perhaps poly is trying to kill the AutoHotkey_L movement ... once all the people who care leave, get back to the Basic.
by jethrow
03 Oct 2013, 22:12
Forum: Announcements
Topic: Permanent Domain
Replies: 183
Views: 136554

Re: Permanent Domain

May I ask why .org vs .com?
by jethrow
30 Sep 2013, 22:19
Forum: Ask For Help
Topic: Learning array usage
Replies: 1
Views: 2061

Re: Learning array useage

By default - no. However, you could redirect the get/set calls: obj := new MyClass obj[1,1] := "foo" obj[3,2] := "bar" MsgBox % obj["a1"] MsgBox % obj["B3"] class MyClass { __Get(p) { c := SubStr(p,1,1) r := SubStr(p,2) if c is alpha { c := AtN(c) if ObjHasKey(this, r) and ObjHasKey(this[r], c) retu...
by jethrow
30 Sep 2013, 20:02
Forum: Forum Issues
Topic: Thanks tank!
Replies: 30
Views: 13457

Re: Thanks tank!

ditto the thread name

Go to advanced search