Last active
April 26, 2021 15:27
-
-
Save JoeGlines/059950ffa24f7e4183695833de0dcd61 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 | |
;******************************************************* | |
Browser_Forward::Reload | |
Browser_Back:: | |
str:="my example string" | |
s:=StrSplit(str," ") ;Create an Array in "s" parsing on spaces | |
myVar:= s.1 ;Access the first item in the Array | |
MsgBox % myVar | |
Loop, $ s.MaxIndex() ;since it is an array you can get the count of items | |
MsgBox % s[A_index] ;iterate over the items in the array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment