Created
April 30, 2021 19:29
-
-
Save JoeGlines/03394d3c5a37190f03cd236869041d74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;******************************************************* | |
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY | |
; Right now you can get a coupon code here: https://the-Automator.com/Learn | |
;******************************************************* | |
#SingleInstance,, Force | |
Browser_Forward::Reload | |
Browser_Back:: | |
try XL := ComObjActive("Excel.Application") ;handle to running application | |
Catch { | |
MsgBox % "no existing Excl ojbect: Need to create one" | |
XL := ComObjCreate("Excel.Application") | |
XL.Visible := 1 ;1=Visible/Default 0=hidden | |
} | |
XL.Visible := 1 ;1=Visible/Default 0=hidden | |
MsgBox % "is an object? " IsObject(XL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment