Search found 15 matches

by xroot
29 Sep 2020, 12:11
Forum: AutoHotkey v2 Scripts and Functions
Topic: WebView2 Control For Edge
Replies: 7
Views: 716

Interact With Web Pages in WebView2

Added new functionality to WebView2.ahk. 1. WebView2NavigationCompletedEventHandler 2. WebView2ExecuteScriptCompletedHandler 3. jsCode Variable 4. ExecuteScript_WebView2 Fucntion I wanted to see if I could Fade Out the Google Logo. Fade Google Logo Example: #include WebView2.ahk HtmlSite := "https w...
by xroot
25 Sep 2020, 08:23
Forum: AutoHotkey v2 Scripts and Functions
Topic: WebView2 Control For Edge
Replies: 7
Views: 716

Re: WebView2 Control For Edge

In your program I changed CreateCoreWebView2Environment to CreateCoreWebView2EnvironmentWithOptions and it works.
With CreateCoreWebView2Environment in your code I get Error 127 = The specified procedure could not be found.
Your codes say ERROR 80070002
by xroot
24 Sep 2020, 08:04
Forum: AutoHotkey v2 Scripts and Functions
Topic: WebView2 Control For Edge
Replies: 7
Views: 716

Re: WebView2 Control For Edge

Yes, but it did not work for me, for some reason I do not know.
by xroot
23 Sep 2020, 13:00
Forum: AutoHotkey v2 Scripts and Functions
Topic: WebView2 Control For Edge
Replies: 7
Views: 716

WebView2 Control For Edge

From what I read on the forum, could not get the WebView2 examples to work. Started playing with the WebView2Loader.dll (ver:9.579.0), Win7-Edge ver:85.0.564.51, AHK ver:2.0_122:U64. In the WebView2Loader I call "CreateCoreWebView2EnvironmentWithOptions" to get started. (see WebView2.ahk for info) T...
by xroot
22 Jul 2020, 11:36
Forum: AutoHotkey v2 Help
Topic: Arrays of Arrays
Replies: 1
Views: 655

Arrays of Arrays

In the following code from ver. a118 help docs under Arrays of Arrays class Array2D extends Array { __new(x, y) { this.Length := x * y this.Width := x this.Height := y } __Item[x, y] { get => base[this.Width * (y-1) + x] set => base[this.Width * (y-1) + x] := value } } grid := Array2D.new(4, 3) grid...
by xroot
20 Jul 2020, 12:38
Forum: AutoHotkey v2 Scripts and Functions
Topic: [2.0-a118] Star Trek Med Screen
Replies: 0
Views: 716

[2.0-a118] Star Trek Med Screen

The med screen in the original Star Trek is one of my favorites, and would be a cool Gui screen. This is what I came up with: MedScreen: ; [2.0-a118] Star Trek Med Screen IE11 Zoom 125% #Include ieFunc.ahk #Include medsImages.ahk Red_Alert(){ redAlert.style.visibility := (redAlert.style.visibility =...
by xroot
26 Mar 2020, 08:56
Forum: AutoGUI
Topic: Structor error LNK2019
Replies: 1
Views: 1270

Structor error LNK2019

What am I doing wrong, compiling WNDCLASSEXW 32 bit offset works fine 64 bit offset I get this Offsets.obj : error LNK2019: unresolved external symbol _printf referenced in function _main LINK : error LNK2001: unresolved external symbol _mainCRTStartup Offsets64.exe : fatal error LNK1120: 2 unresolv...
by xroot
15 Mar 2020, 10:22
Forum: AutoHotkey v2 Scripts and Functions
Topic: AHK Main Window(MW)
Replies: 2
Views: 1712

AHK Main Window(MW)

AutoHotkey's MW is usually hidden, but can be shown via the tray icon. #NoTrayIcon = no tray icon. "A_ScriptHwnd" can be used to work with the MW. Wanted to see if I could use the ready made Gui(MW) without crashing. The MW has a menu control and edit control. These controls can be used if you need ...
by xroot
09 Feb 2020, 09:37
Forum: Ask For Help
Topic: [solved] How to make my simple GUI window scrollable? Topic is solved
Replies: 22
Views: 2339

Re: How to make my simple GUI window scrollable? Topic is solved

Hi, Benny-D Here is a simple sample I wrote in V2.0-a108 to scroll a GUI window. I hope it helps you in making your GUI scrollable. Main GUI #include winapi.ahk global si := SCROLLINFO.New() global w := 500,h := 500,vt := 50,ht := 50,hs := 5,vs := 5,oldPos := 0 RandomSeed Random(1,2**30) global Gui ...
by xroot
23 Oct 2019, 11:55
Forum: AutoHotkey v2 Help
Topic: [v2.0-a106] StrGet Length field for RAW data
Replies: 3
Views: 1611

[v2.0-a106] StrGet Length field for RAW data

[Moderator's note: Topic moved from Bug Reports.] Help says for the Length Parameter in StrGet (reading RAW data) By default, only copies up to the first binary zero. If Length is negative, its absolute value indicates the exact number of characters to convert, including any binary zeros that the s...
by xroot
27 Sep 2019, 11:29
Forum: AutoHotkey v2 Scripts and Functions
Topic: IE As The Gui
Replies: 1
Views: 11055

IE As The Gui

Read many posts that embed IE into the Gui, which I have done. IE is a Window by it self and the Gui can be anything. With the power of HTML Tag Objects, CSS, JavaScript, etc., IE becomes a great Gui platform for creation. All you need is to create the IE Gui and add Tag Objects.(see IEfunc.ahk) Usi...
by xroot
13 Sep 2019, 11:09
Forum: AutoHotkey v2 Scripts and Functions
Topic: [2.0-a104] Simple InLine Asm
Replies: 2
Views: 3201

[2.0-a104] Simple InLine Asm

The simplest way I found to do inline ASM was to put opcodes and Mnemonics you use a lot in a Map.(see opcode.ahk) When you add your own opcodes one important thing to remember is uniqueness. Example, the "ret" opcode. How to distinguish "ret 4" from "ret"? The Map: opCode["ret word"] := "C2" opCode...
by xroot
08 Sep 2019, 08:34
Forum: Bug Reports
Topic: [v2-a104] FileRead raw returns object not buffer Topic is solved
Replies: 1
Views: 1608

[v2-a104] FileRead raw returns object not buffer Topic is solved

Help Doc for (2.0-a104) States that:
Buffer objects are typically created by calling BufferAlloc, but can also be returned by FileRead with the "RAW" option.

Ran this line from help "buf := FileRead(A_AhkPath, "RAW")" and did a msgbox type(buf), came back with Object not Buffer.
:thumbdown:
by xroot
07 Aug 2019, 11:01
Forum: Ask For Help
Topic: [v2] Hex Format Issue (same for v1)
Replies: 3
Views: 672

[v2] Hex Format Issue (same for v1)

Size or Width in Formatting negative numbers to Hex not working. Anyone know why? What am I doing wrong? I only want 2 chars. with Format ":02X" Hex but returns 16 chars.. I have to use "SubStr" to get 2 chars.. I know 255 will return 2 chars. FF. Example Hex := Format("{:02X}",-1) HexLength := StrL...
by xroot
23 Jun 2019, 08:26
Forum: AutoHotkey v2 Help
Topic: [v2] ComObjConnect not working
Replies: 9
Views: 1922

[v2] ComObjConnect not working

ComObjConnect not closing AHKV2 when clicking system close button X. Escape key works fine. It works in V1, and help docs for ComObjConnect in v1,v2 are pretty much the same. Anyone know whats up with v2? Thanks for any help. IE_OnQuit(){ ExitApp } ie := ComObjCreate("InternetExplorer.Application") ...

Go to advanced search