Search found 53 matches

by Tre4shunter
17 Jan 2020, 15:17
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

I made a slight change to the Chrome.FindInstances() Function: FindInstances(PortsToClose:="") { static Needle := "--remote-debugging-port=(\d+)" Out := {}, i = 0 for Item in ComObjGet("winmgmts:").ExecQuery("SELECT CommandLine, ProcessId FROM Win32_Process WHERE Name = 'chrome.exe'") if RegExMatch(...
by Tre4shunter
14 Jan 2020, 16:46
Forum: Scripts and Functions
Topic: Send Email Directly from AutoHotkey
Replies: 12
Views: 658

Re: Send Email Directly from AutoHotkey

Sure enough...it does work! I was always trying to use port 587 with TLS when it wasnt working....you're the man.

Thanks @moefr01 !!
by Tre4shunter
14 Jan 2020, 11:15
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Why dont you just build a little AHK gui window for them to put their credentials in, and then pass that to the headless chrome to login? Though, might be an issue if you don't want that credential being passed in plaintext. Natitoun [EDIT] Here would be another way... #NoEnv #SingleInstance, Force ...
by Tre4shunter
14 Jan 2020, 11:13
Forum: Scripts and Functions
Topic: Send Email Directly from AutoHotkey
Replies: 12
Views: 658

Re: Send Email Directly from AutoHotkey

gwarble My understanding is that CDO does not support TLS, which is what your issue with trying to use O365 smtp is. This was the same problem i had, which initially led me to using EASendmail...though ive since switched to just using mailsend.exe as it is freeware. Blat as far as i know also does ...
by Tre4shunter
13 Jan 2020, 09:19
Forum: Scripts and Functions
Topic: Send Email Directly from AutoHotkey
Replies: 12
Views: 658

Re: Send Email Directly from AutoHotkey

All -

I prefer to just use CDO as well, as there are no external dependencies required, and after reading this thread i definitely over complicated things by using EASendMail....if you require TLS i would just go with mailsend.exe
by Tre4shunter
12 Jan 2020, 13:42
Forum: Scripts and Functions
Topic: Send Email Directly from AutoHotkey
Replies: 12
Views: 658

Re: Send Email Directly from AutoHotkey

You are right, i mean to! Yes, it is not freeware. Thanks for pointing that out @SOTE and as you can see in the ahk, the license is et to 'Try me'
by Tre4shunter
12 Jan 2020, 12:46
Forum: Scripts and Functions
Topic: Send Email Directly from AutoHotkey
Replies: 12
Views: 658

Re: Send Email Directly from AutoHotkey

Hey jackdunning - I used to use CDO as well for the last few years and it has worked great! Thanks for compiling it nicelyand reminding the community about it as well. Recently - i found a need to use exchange online as an smtp server to send mail automatically....and unfortunately, CDO is unable to...
by Tre4shunter
10 Jan 2020, 08:50
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Hey Natitoun I think its an issue with the Chrome profile path. Try Replacing the Code for creating a new chrome instance with this: profile := A_Temp "\ChromeProfile" if !FileExist(profile) FileCreateDir, % profile ChromeInst := new Chrome(profile, "https://www.google.com", "--headless") Also note ...
by Tre4shunter
09 Jan 2020, 11:30
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Hey @Natitoun

Looks to me like your URL is invalid. Also - why arent you using Chrome v1.2? I know it works in that version.

Try:

Code: Select all

ChromeInst := new Chrome("ChromeProfile", "https://example.com", "--headless")
by Tre4shunter
02 Jan 2020, 13:15
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

I have actually run into that - but to be honest I'm not 100% certain what i actually did to overcome it. I make sure i trigger PageInst.WaitForLoad() after doing any sort of javascript eval which modifies the page, etc - and have the interval set to 100(Not sure if i changed it from what it is orig...
by Tre4shunter
23 Dec 2019, 10:30
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Hey Stavencross , I have no problem showing you, but there are just quite a few pieces to it. Here is the main Script. Obviously, i wrote alot of CSS/HTML for it as well. The ahk is really just displaying my HTML/CSS and using Chrome.ahk to display and attach to it so i can 'Control' Everything with...
by Tre4shunter
12 Dec 2019, 17:24
Forum: Scripts and Functions
Topic: Google Calendar API Oauth and Events List
Replies: 14
Views: 2744

Re: Google Calendar API Oauth and Events List

TLM the brilliant is right of course - however for my code to work, we don't actually need the Refreshtoken...it just grabs you a new Access Token each time. Thank you burque505 much appreciated :D I'm working on a sweet new Calendar interface (Google Clone).....though, im not sure why really, haha...
by Tre4shunter
27 Nov 2019, 13:55
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Looks like it was some CSS in a @media print class

I ended up commenting this out:

Code: Select all

  /*
  @page {
  margin: .8cm;
  }
  */
  
Now my PageNumbers seem to be fine...not sure why it was causing the issue though.

Thanks!
by Tre4shunter
27 Nov 2019, 09:10
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Hey guys - Been using this class for a while now - but recently it seems like my footer is no longer including the pageNumber Values...it worked for quite a while, but now it just shows empty values for pageNumber and totalPages classes. Any ideas? Heres the code: footer := "<style>h1 {font-size:7px...
by Tre4shunter
09 Sep 2019, 13:55
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

A project ive been working on which is fully built around Geekdudes Chrome.ahk Class. Its amazing! The interface is fully designed with HTML/CSS/Javascript. I use AHK to tie in Excel - where the data is populated from, as well as other resources like internal databases, config files, and do things l...
by Tre4shunter
02 Jul 2019, 13:50
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 195
Views: 70859

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

Hey Rinkadink - have you looked at the examples included with the Chrome.ahk class? They should tell you what you need to know - but if you are still confused, let me know and i can work up a quick example for you if you think you still need it. And thanks to Geekdude of course! Amazing work as alwa...
by Tre4shunter
10 Jan 2019, 08:08
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 303
Views: 118492

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

haha how'd you know?!!? But, yes, always helpful! Your WebApp.ahk was my originial inspiration for most of my html gui projects!

Thanks again!
by Tre4shunter
09 Jan 2019, 19:30
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 303
Views: 118492

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Hey guys - Got another ActiveX Gui project. Calendar this time. I guess these are more of a display of HTML/CSS rather than Autohotkey but, oh well :P It is fully resizable, and can add events including multiday events dynamically. Still alot of work to do as far as even adding goes, but the interfa...
by Tre4shunter
06 Jan 2019, 13:07
Forum: Scripts and Functions
Topic: Excel Enum Constants Search
Replies: 13
Views: 2118

Re: Excel Enum Constants Search

Extremely useful script! Thanks so much for posting!

Go to advanced search