Search found 177 matches
- 12 Oct 2013, 17:15
- Forum: Ask for Help (v1)
- Topic: COM_L Inject javascript
- Replies: 35
- Views: 21724
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...
- 12 Oct 2013, 13:39
- Forum: Ask for Help (v1)
- Topic: COM_L Inject javascript
- Replies: 35
- Views: 21724
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...
- 12 Oct 2013, 01:00
- Forum: Ask for Help (v1)
- Topic: AutoHotKey & SQL in a separate file...
- Replies: 7
- Views: 4219
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...
- 11 Oct 2013, 22:17
- Forum: Ask for Help (v1)
- Topic: COM_L Inject javascript
- Replies: 35
- Views: 21724
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...
- 11 Oct 2013, 21:56
- Forum: Off-topic Discussion
- Topic: Test your Forum Posts
- Replies: 422
- Views: 223321
Re: Test your Forum Posts
Sweet - can finally have syntax highlighting on my autoit code
Code: Select all
RegWrite("HKEY_CURRENT_USER\Software\Test", "TestKey", "REG_SZ", "Hello this is a test")
- 11 Oct 2013, 19:02
- Forum: Scripts and Functions (v1)
- Topic: Drawing & Handwriting Objects. Great for touchscreen devices
- Replies: 27
- Views: 15761
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...
- 11 Oct 2013, 00:56
- Forum: Ask for Help (v1)
- Topic: COM_L Inject javascript
- Replies: 35
- Views: 21724
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...
- 07 Oct 2013, 20:13
- Forum: Ask for Help (v1)
- Topic: COM_L Inject javascript
- Replies: 35
- Views: 21724
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.
- 04 Oct 2013, 11:46
- Forum: Ask for Help (v1)
- Topic: ActiveX doesn't respond to Del Key.
- Replies: 14
- Views: 7828
Re: ActiveX doesn't respond to Del Key.
Yep - didn't think about that. I'll update this sometime this weekend.Joe wrote:Then these lines may be removed from init block, they are twice in init and WM_KEYDOWN ...
- 03 Oct 2013, 23:05
- Forum: Announcements
- Topic: Permanent Domain
- Replies: 183
- Views: 157821
Re: Permanent Domain
How much would it cost to get both? Might be worthwhile, even if the .com is just a redirect.
- 03 Oct 2013, 22:31
- Forum: Ask for Help (v1)
- Topic: ActiveX doesn't respond to Del Key.
- Replies: 14
- Views: 7828
Re: ActiveX doesn't respond to Del Key.
fyi - I put the better WM_KEYDOWN function (modeled after lexikos' code) in the main code example.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
- 03 Oct 2013, 22:27
- Forum: Ask for Help (v1)
- Topic: ActiveX doesn't respond to Del Key.
- Replies: 14
- Views: 7828
Re: ActiveX doesn't respond to Del Key.
I'm not sure why {del} isn't working by itself, but you can do the following:Joe wrote:I got it to work for physical key presses, but do not know how to link "send {del}" to WM_KEYDOWN.
Code: Select all
Send {del down}{del up}
- 03 Oct 2013, 22:20
- Forum: Off-topic Discussion
- Topic: « What's on your mind? » Topic is solved
- Replies: 4901
- Views: 1426605
Re: « What's on your mind? » Topic is solved
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.
- 03 Oct 2013, 22:12
- Forum: Announcements
- Topic: Permanent Domain
- Replies: 183
- Views: 157821
Re: Permanent Domain
May I ask why .org vs .com?
- 02 Oct 2013, 23:29
- Forum: Forum Issues
- Topic: Name is important, Community is what makes it work
- Replies: 45
- Views: 22895
Re: Name is important, Community is what makes it work
#4 seems good to metank wrote:I think these all have great potential
- 30 Sep 2013, 22:19
- Forum: Ask for Help (v1)
- Topic: Learning array usage
- Replies: 1
- Views: 2397
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...
- 30 Sep 2013, 20:02
- Forum: Forum Issues
- Topic: Thanks tank!
- Replies: 30
- Views: 16054
Re: Thanks tank!
ditto the thread name