Search found 177 matches

by jethrow
07 Feb 2019, 02:07
Forum: Ask For Help
Topic: Copy from Excel Spreadsheet and Paste to Web-based program
Replies: 2
Views: 84

Re: Copy from Excel Spreadsheet and Paste to Web-based program

Here's a quick example: sheet := excelSetup() document := ieSetup() MsgBox Enter values in Excel Cells B1-B3. Once complete, press OK to populate webpage ... document.getElementsByName("username")[0].value := sheet.Range("B1").Value document.getElementsByName("password")[0].value := sheet.Range("B2"...
by jethrow
06 Dec 2018, 01:52
Forum: Ask For Help
Topic: [AHK COM IE] How to get button url Topic is solved
Replies: 4
Views: 217

Re: [AHK COM IE] How to get button url Topic is solved

A brief example of what you've tried would help ... but the simple answer is to access the button or link & get the value of it's href property. In accessing the correct button or link, you'll have to identify the element somehow - here's a basic example: for window in ComObjCreate("Shell.Applicatio...
by jethrow
09 Nov 2018, 01:20
Forum: Other Programming Languages
Topic: jethrow's preferred language ... and why
Replies: 3
Views: 632

Re: jethrow's preferred language ... and why

Yes - IntelliJ IDEA Ultimate
by jethrow
03 Nov 2018, 16:54
Forum: Other Programming Languages
Topic: jethrow's preferred language ... and why
Replies: 3
Views: 632

jethrow's preferred language ... and why

(initial though after reading subject) ... who cares? ... but then I think about the actual big names (current & former) in the AHK community, and I'd be curious to know their preferred development language. Short Answer : Scala , because it's a full jvm-based programming language that feels kinda ...
by jethrow
03 Nov 2018, 15:46
Forum: Offtopic
Topic: Do you have any religion? | What's your religion?
Replies: 20
Views: 2151

Re: Do you have any religion? | What's your religion?

Considering my avatar, I should prolly weigh in. After growing up somewhere between atheist & agnostic, life experience, science & logical deduction convinced me there is something both good & supreme beyond what can be physically measured. Also, though I put little credit in feelings, when you have...
by jethrow
11 Aug 2018, 18:13
Forum: Offtopic
Topic: UI Automation v. Acc (MSAA: Microsoft Active Accessibility)
Replies: 7
Views: 1040

Re: UI Automation v. Acc (MSAA: Microsoft Active Accessibility)

No problem. "Active" is a strong word, but I seek to please. Again, np - the AHK community has blessed me more that I've contributed. Thanks for the recognition, but for COM/ACC stuff props really go to folks like lexikos, Sean, tank & fincs. ... any plans ... for the future. Or the same for any oth...
by jethrow
11 Aug 2018, 11:13
Forum: Offtopic
Topic: UI Automation v. Acc (MSAA: Microsoft Active Accessibility)
Replies: 7
Views: 1040

Re: UI Automation v. Acc (MSAA: Microsoft Active Accessibility)

One of the things that really interested me about UI Automation is the ability to find elements in a treescope based on given criteria - see IUIAutomationElement::FindFirst & IUIAutomationElement::FindAll

Here's an old example for FireFox: FFWait.ahk
by jethrow
11 Aug 2018, 10:51
Forum: Ask For Help
Topic: CSV delimited database help
Replies: 8
Views: 370

Re: CSV delimited database help

How are the fields with commas/line breaks identified? Typically they are enclosed in double quotes. In the past I've parsed on un-escaped double quotes first to identify the fields, then substituted the commas/line breaks in the fields.
by jethrow
16 Jun 2016, 00:07
Forum: Ask For Help
Topic: Determining whether a page in IE11 is done loading
Replies: 2
Views: 744

Re: Determining whether a page in IE11 is done loading

Here is the error i'm getting ... Specifically: busy The error shows busy is causing an issue - have you tried without busy ? If readystate alone doesn't work, you could watch for the DocumentComplete event, as shown in this post: https://autohotkey.com/board/topic/47052-basic-webpage-controls-with...
by jethrow
24 Apr 2016, 14:09
Forum: Ask For Help
Topic: COM interface with explorer issue
Replies: 1
Views: 571

Re: COM interface with explorer issue

Well, you could get it by window title or webpage name/url (see WBGet & IEGet here ) ... ... or you could utilize the fact that that the new window should be the last item in the shell.application->windows collection. You could do this by getting the window count, clicking the link, waiting for the ...
by jethrow
14 Apr 2016, 23:47
Forum: Ask For Help
Topic: GUI Inventory safe to excel file
Replies: 2
Views: 529

Re: GUI Inventory safe to excel file

Doing COM would still create an excel instance - though it could be hidden. You might be better off writing to a CSV file, which should open by default in Excel.
by jethrow
10 Feb 2016, 21:46
Forum: Ask For Help
Topic: &Class.var ?
Replies: 5
Views: 565

Re: &Class.var ?

Try the GetAddress method
by jethrow
27 Jul 2015, 00:43
Forum: Ask For Help
Topic: Variable in COM name
Replies: 2
Views: 567

Re: Variable in COM name

See the all property. When in doubt, try the call in javascript. Any of the following are appropriate:

Code: Select all

document.all(user_pass)
document.all[user_pass]
document.all.item(user_pass)
by jethrow
12 Jul 2015, 21:29
Forum: Ask For Help
Topic: Associative array not working
Replies: 4
Views: 885

Re: Associative array not working

double_jumper wrote:I just assumed it was global by default since all variables are.
Functions are local by default.
by jethrow
07 Jun 2015, 14:14
Forum: Tutorials
Topic: Web Scraping with AutoHotkey & COM Tutorial- GUI syntax writer and demo videos
Replies: 67
Views: 44563

Re: WebScraping and COM- GUI syntax writer and demo videos

AHK has some syntax designs that don't translate well into other languages. A good example is in AHK, the following 2 calls are the same: object.key object["key"] That being said, if you are focusing on web-scraping & tutorials, I'd highly recommend making your code easily translatable to jscript/ja...
by jethrow
04 Jun 2015, 00:24
Forum: Ask For Help
Topic: Key becomes sticky after update, need help.
Replies: 5
Views: 1156

Re: Key becomes sticky after update, need help.

Try using KeyWait to make sure the modifier key (win key) is released before the send statement occurs.
by jethrow
30 May 2015, 20:23
Forum: Ask For Help
Topic: Variant class needed?
Replies: 19
Views: 3746

Re: Variant class needed?

Thanks for the info/examples ... that's pretty much everything I needed :) Here's another version, manually constructing the VARIANT instead of using a SafeArray ... This is slightly faster to access, but slower to create/destroy ... I hadn't even considered reusing the save variant structure (inter...
by jethrow
30 May 2015, 20:02
Forum: Ask For Help
Topic: IDispatch, Access .Document of Shell.Explorer (ActiveX)
Replies: 3
Views: 1477

Re: IDispatch, Access .Document of Shell.Explorer (ActiveX)

Here's an extended example using HTMLFile - thought this focuses more on having your AHK script respond to webpage events, rather than javascript responding to events & communicating with AHK: WM_KEYDOWN = 0x100 GoSub, GetHTML OnMessage(WM_KEYDOWN, "WM_KeyDown") Gui Add, ActiveX, w350 h300 x0 y0 vdo...
by jethrow
30 May 2015, 17:04
Forum: Ask For Help
Topic: [SOLVED] 15,000 Word Docs Searched in 6 mins with OutPut :D
Replies: 11
Views: 1781

Re: 15,000 Word Docs Searched in 6 mins with OutPut :D

wdApp.Visible := False ?? Note that the Application object is not Visible by default. Just remove the wdApp.Visible := True line. one more thing if the file is open in some other system ... ; ... Loop, %A_DeskTop%\*.docx ; The directory to look in for .docx files { try wdDoc := wdApp.Documents.Open...
by jethrow
25 May 2015, 03:03
Forum: Ask For Help
Topic: Variant class needed?
Replies: 19
Views: 3746

Re: Variant class needed?

... lack of understanding on my part around variants & memory ... I read through handle VARIANT structures - shouldn't ComVar be all that's needed for working with variants? Passing the variant and getting the value is just the following - & the object delete function should clean everything up? Va...

Go to advanced search