Search found 854 matches

by GeekDude
15 May 2018, 09:20
Forum: Forum Issues
Topic: AutoHotkey.net domain hijacked
Replies: 16
Views: 3430

Re: AutoHotkey.net domain hijacked

I don't know about anyone else, but I'd be willing to donate toward a fund for reclaiming the domain
by GeekDude
13 May 2018, 08:39
Forum: Scripts and Functions
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 192
Views: 61328

Re: [Script] CodeQuickTester - Write and run code without touching the file system

Thanks again. I really appreciate it. :thumbup: Glad I could help! :) If i may make a suggestion that would make it tons better. Could you consider adding np++ like functionality where all text in current window is used as a wordlist to autocomplete text, this function i reckon should make it a bre...
by GeekDude
12 May 2018, 23:50
Forum: Forum Issues
Topic: AutoHotkey.net domain hijacked
Replies: 16
Views: 3430

AutoHotkey.net domain hijacked

I haven't seen much public discussion about this other than in passing in the chat. I'm not sure if anyone on the forum is aware, but autohotkey.net links are redirecting users to sketchy pages with malicious content. https://i.imgur.com/5U1SXLm.png https://i.imgur.com/BdOUeOP.png https://i.imgur.c...
by GeekDude
10 May 2018, 12:25
Forum: Scripts and Functions
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 192
Views: 61328

Re: [Script] CodeQuickTester - Write and run code without touching the file system

This code will get the relative path between any two given directories. My example assumes that the path is \Toolbox\ahk\Tools\QuickCodeTester\Tester.exe , rather than \Toolbox\ahk\Tools\QuickCodeTester.exe (your post was a little ambiguous) ; The folder contianing CodeQuickTester.exe/.ahk Path1 = D...
by GeekDude
10 May 2018, 12:13
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

First off, thank you GeekDude for this script! Using a modern browser like Chrome is so much better than struggling with IE and COM. You're welcome! It's great to hear that people are finding my work useful. I have one small suggestion. I've been using the Evaluate(JS) method for most of the work I...
by GeekDude
10 May 2018, 11:14
Forum: Scripts and Functions
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 192
Views: 61328

Re: CodeQuickTester - Write and run code without touching the file system

Thanks for checking into this. Thanks for being patient with my checking :). That error is very strange. Compiling the script makes the error go away? That is not what I would have expected. Could you please run this and copy the output into a forum post? Yes, compiling the script makes the error g...
by GeekDude
09 May 2018, 21:54
Forum: Scripts and Functions
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 192
Views: 61328

Re: CodeQuickTester - Write and run code without touching the file system

Great tool, thank you so much! :clap: How do I make it remember the location of my AutoHotkeyU64.exe? Or asked another way, where does the script expect to find AutoHotkeyU64.exe? Where would I have to put it -relative to AutoHotkeyU64.exe, so it can find the exe by itself? It won't remember my set...
by GeekDude
09 May 2018, 21:25
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Chrome.ahk v1.2 has been released Please see the original post for a link to the release and revision history pages. Changes Made Chrome.DebugPort static for static use of the Chrome.GetPage methods with the default port. Thanks Shadowpheonix! Made Chrome path discovery more robust. Thanks jeeswg! ...
by GeekDude
09 May 2018, 08:48
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

I really liked your idea, use such a functional approach to automate the browser, instead of COM. And I also wanted to see how this project develops, getting new opportunities, so I just try to be useful in my unindifference. You can use all the examples for your own purposes and describe them at y...
by GeekDude
08 May 2018, 14:44
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Shadowpheonix For some reason, I cannot seem to use Chrome.GetPageByTitle("page title") . When I try, it always fails to retrieve the page. :( Completely my fault. I forgot to return the page found in that helper function (also GetPageByURL ). It will be fixed in the next release. KusochekDobra Kus...
by GeekDude
21 Apr 2018, 22:38
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

The only trouble-free solution that we managed to find is to activate the console domain: PageInst.Call("Console.enable") And catch incoming messages "Console.messageAdded" I had to change the "Chrome" class a little, adding the sixth parameter to the call constructor, here and there to transfer it...
by GeekDude
10 Apr 2018, 12:40
Forum: Tips and Tricks
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 128
Views: 79235

Re: [GUI] Use HTML and CSS for your GUIs!

My socket library also ships with a super bare-bones HTTP server implementation that you could extend.

https://github.com/G33kDude/Socket.ahk/ ... Server.ahk
by GeekDude
22 Mar 2018, 23:55
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hello Why does the Jxon_Dump method return the "menor pre u00E7 o do livro" value when the correct text is "menor pre ç o do livro"? I'm using the call below to bring the content of the list that is in the url https://www.estantevirtual.com.br/livros/robert-t-kiyosaki/pai-rico-pai-pobre/3770213412?...
by GeekDude
21 Mar 2018, 16:59
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Chrome.ahk v1.1 has been released Please see the original post for a link to the release and revision history pages. Changes class Chrome 's constructor now accepts additional flags for chrome Pages are no longer connected to using Chrome.GetTab() Additions New methods for finding the right page to...
by GeekDude
18 Mar 2018, 09:49
Forum: Scripts and Functions
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 192
Views: 61328

Re: CodeQuickTester - Write and run code without touching the file system

CodeQuickTester v2.6 has been released Please see the original post for a link to the release and revision history pages. Changes Stopped publish from always stripping comment-only lines Made "Open Help File" open to the selected keyword Additions Find and replace dialog Syntax tips in the status b...
by GeekDude
05 Mar 2018, 13:30
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

First fix was easy. Simply add https://github.com/G33kDude/WebSocket.ahk , https://github.com/cocobelgica/AutoHotkey-JSON to the already existing (empty) Folders. But then i got this error mesage by starting example https://github.com/G33kDude/Chrome.ahk/blob/master/Examples/InjectJS.ahk This error...
by GeekDude
25 Jan 2018, 23:14
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Thanks GeekDude. That’s great! :) is there a way to get the scroll bar position in order to know where in the page the current view is? You could run some javascript on the page that gets the scroll position and use the returned value. For example: Loop { Position := Tab.Evaluate("window.pageYOffse...
by GeekDude
23 Jan 2018, 20:33
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

If you have a chrome instance already running in debug mode, you can skip the initialization of the Chrome class and just call Chrome.GetTab() directly. For example:

Code: Select all

#Include Chrome.ahk

TabInst := Chrome.GetTab()
TabInst.Evaluate("alert('hi!');")
by GeekDude
23 Jan 2018, 17:29
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70870

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

I've been playing with this & it is pretty awesome! I've adapted it to use QuerySelectorAll (so items that are an array can be specified) I've also worked-through getting the OuterHTML (however there doesn't seem to be a way to get InnerText) Great! I'm glad to hear you like it. Feel free to share ...

Go to advanced search