Search found 971 matches

by burque505
19 Feb 2017, 17:26
Forum: Tutorials
Topic: Add 3 more layers to your keyboard Using these 3 Modifiers - Easy to Program Too!
Replies: 16
Views: 13964

Re: Add 3 more layers to your keyboard Using these 3 Modifiers - Easy to Program Too!

Thanks, iseahound. EDIT: I wonder if I should post this somewhere else, this utility looks so damn useful. Also I have many more text transformations including to bold, italic, serif, sans-serif, changing code indentations from tabs to 4 spaces, or 3, or 2; bulleting and numbering lists; hashes; as ...
by burque505
19 Feb 2017, 16:59
Forum: Ask For Help
Topic: AutoHotkey.DLL, AutoHotkey.Interop - VS2015, VSTO Topic is solved
Replies: 2
Views: 3392

AutoHotkey.DLL, AutoHotkey.Interop - VS2015, VSTO Topic is solved

Hi, I'm at my wits' end here. I'm running VS 2015 (32-bit, it seems) on my 64-bit Win7 machine. I started a VB.NET VSTO Word Document project. The code I'm using runs fine in a WinForm, with the obvious modifications for controls. I've tried adding references to AutoHotkey.DLL (both 64-bit and 32-bi...
by burque505
17 Feb 2017, 17:01
Forum: Ask For Help
Topic: iWB Learner Source
Replies: 4
Views: 811

Re: iWB Learner Source

Just a tip in case you get burned by it like I did by missing the following tip: Kon writes (Note: there is a syntax error: an extra ) on line 547) Originally "TV_GetDiffCount(p1, p2)) {" Should be "TV_GetDiffCount(p1, p2) {" ;no quotes, of course :) Also required: Acc Library: https://github.com/Dr...
by burque505
14 Feb 2017, 13:12
Forum: Ask For Help
Topic: Embed MS Office document in GUI Topic is solved
Replies: 13
Views: 1898

Re: Embed MS Office document in GUI Topic is solved

:bravo: :dance: tmplinshi, you are the greatest!
It was in fact me running a 64-bit AHK. The 32-bit version I swapped in runs both versions you provided perfectly.
Fantastic. Wonderful. And thanks for working .ocx, of course.
Regards and the highest of praise,
Burque505.
by burque505
13 Feb 2017, 21:04
Forum: Ask For Help
Topic: Ms word
Replies: 8
Views: 899

Re: Ms word

MUCH shorter :)

Run, Winword
sleep, 1000
WinActivate, Document1 - Word ahk_class OpusApp
sleep, 1000
Send, !f
Sleep, 100
Send, {t}
Return
by burque505
13 Feb 2017, 21:01
Forum: Ask For Help
Topic: Ms word
Replies: 8
Views: 899

Re: Ms word

Probably overkill, but works here. I'm an utter noob, and I had to use Pulover's Macro Creator to get it to work. I just basically stole it from there. The key seems to be "WinActivate, Document1 - Word ahk_class OpusApp" If I can get a shorter version running I'll post it. #NoEnv SetWorkingDir %A_S...
by burque505
13 Feb 2017, 20:19
Forum: Ask For Help
Topic: Ms word
Replies: 8
Views: 899

Re: Ms word

GS SAHU, that didn't work for me.
by burque505
13 Feb 2017, 14:10
Forum: Ask For Help
Topic: Embed MS Office document in GUI Topic is solved
Replies: 13
Views: 1898

Re: Embed MS Office document in GUI Topic is solved

Just found a reference on the web saying dsoframer.ocx doesn't support Office 2010. I'm using Office 2016, maybe that's the problem. :crazy: Or not. I downloaded and installed the official sample pack, and the samples work fine. I also copied that dsoframer.ocx over to the script directory, still no...
by burque505
13 Feb 2017, 14:06
Forum: Ask For Help
Topic: Embed MS Office document in GUI Topic is solved
Replies: 13
Views: 1898

Re: Embed MS Office document in GUI Topic is solved

Thanks, Garry. I wonder what I'm doing wrong with tmplinishi's script? I just copied and pasted it. Maybe my version of dosframer.ocx doesn't work with AHK, but it works fine with the application it came with. I'll look for a 64-bit version (my OS is 64-bit) and see if maybe that's the problem. I ap...
by burque505
13 Feb 2017, 12:30
Forum: Ask For Help
Topic: Embed MS Office document in GUI Topic is solved
Replies: 13
Views: 1898

Re: Embed MS Office document in GUI Topic is solved

Thanks to both. No joy yet. Tmplinshi, when I run your code everything that is "fc.*" throws an error. I already have dsoframer.ocx registered on my system from another program, but tried re-registering it also (though EnsureRegistered() didn't throw an exception). When I refresh the webpage that di...
by burque505
12 Feb 2017, 16:29
Forum: Ask For Help
Topic: Embed MS Office document in GUI Topic is solved
Replies: 13
Views: 1898

Embed MS Office document in GUI Topic is solved

Hi, I'd like to embed Office documents in a GUI. I found this code at: https://autohotkey.com/board/topic/29154-ms-office-automation-functions-via-com-thanks-sean/ and https://autohotkey.com/board/topic/29154-ms-office-automation-functions-via-com-thanks-sean/page-2#entry186621 I'm using AutoHotkey_...
by burque505
11 Feb 2017, 17:59
Forum: Ask For Help
Topic: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved
Replies: 4
Views: 627

Re: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved

HotKeyIt, thanks. I used the PUM test suite as a guinea pig. I changed the #Include statements in test.ahk to: #Include <PUM> #Include <PUM_API> and renamed the file "test2.ahk". I added "test2.ahk" to the Resources via the Project->Resources menu. I did not embed the libraries, as I was unable to g...
by burque505
11 Feb 2017, 17:17
Forum: Ask For Help
Topic: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved
Replies: 4
Views: 627

Re: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved

Great, thank you! I'll try that now. By the way, the following script so far works better. In the line with "ahkscript.ahktextdll("" & script), I tried it without the empty quotes and it doesn't work. With the ExecRaw() version above, I could only click the button once before getting a System.Reflec...
by burque505
11 Feb 2017, 11:59
Forum: Ask For Help
Topic: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved
Replies: 4
Views: 627

Re: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved

Okay, some success. Far from complete, yet a good start. My VB.NET program is using an embedded AHK script to show a messagebox (from AHK) with "HelloWorld". So far it won't run twice in a row, maybe because I don't have #SingleInstance Force in the HelloWorld.AHK file. I'll try that soon. (It occur...
by burque505
10 Feb 2017, 19:21
Forum: Ask For Help
Topic: AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved
Replies: 4
Views: 627

AHK.Interop/AHK.Dll - embed scripts in .resx Topic is solved

Hi, I'd like to embed some AHK files as resources in a Visual Studio VB.Net program, so I can run the script(s) without (hopefully) having to add " & vbLf &" to each line of the scripts, and double-quoting things like "Word.Application" in scripts which are hundreds of lines long. I'm also hoping th...
by burque505
09 Feb 2017, 19:35
Forum: Ask For Help
Topic: Webscraping .ASPX pages - variable problem
Replies: 7
Views: 821

Re: Webscraping .ASPX pages - variable problem

Thanks, Capn Odin. Still no joy, but I think you've got me on the right track. It does appear to be a timing issue. Please see the code below, which works. But I have no timing issues when I don't try to use the second variable (FF). #SingleInstance, Force pwb := WBGet() URL = https://[MyURLHere]. p...
by burque505
09 Feb 2017, 18:46
Forum: Ask For Help
Topic: Webscraping .ASPX pages - variable problem
Replies: 7
Views: 821

Re: Webscraping .ASPX pages - variable problem

Thanks, Capn Odin.

I tried both solutions, but neither worked.

I will try to use AHK_H, and see if there is something in that version that might let me do what I'm trying to do.

I'll post right away if it works.

Regards,
W
by burque505
09 Feb 2017, 18:43
Forum: Ask For Help
Topic: Webscraping .ASPX pages - variable problem
Replies: 7
Views: 821

Re: Webscraping .ASPX pages - variable problem

Thanks, Capn Odin, but neither works. Might I need to be using AHK_H instead? Maybe I'll try that. If it works I'll post right away.

Again, thanks!
by burque505
09 Feb 2017, 17:55
Forum: Ask For Help
Topic: Webscraping .ASPX pages - variable problem
Replies: 7
Views: 821

Re: Webscraping .ASPX pages - variable problem

Hi, thanks for your response. The code I've listed works (no "." needed).
What I wanted to do was replace "_2076ade26f0648268e57e8bd7e3c3bd1_ListView_ElementsRepeater_txt_1_" with another variable, say "preFix", doesn't matter, and concatenate it with "startVar".
Regards,
W.
by burque505
09 Feb 2017, 13:54
Forum: Ask For Help
Topic: Webscraping .ASPX pages - variable problem
Replies: 7
Views: 821

Webscraping .ASPX pages - variable problem

Hello, thanks in advance to anyone who can help me with this problem. If I can get by this one hurdle, I believe it'll help me tremendously. My AHK toolset is still extremely limited, as you can probably tell. I'm scraping a public website with no scraping restrictions. The working code is below. 1)...

Go to advanced search