Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- SetBatchLines -1
- ListLines Off
- #Hotstring SI ; Recommended for Hotstrings
- #SingleInstance Force ; Good for all of my scripts
- ;#Warn ; Recommended for catching common errors.
- SplitPath, A_ScriptName,,,, ScriptName ;Remove extension from A_ScriptName
- FileEncoding, UTF-8 ;Should be; CP1252 = ANSI
- myList =
- (
- <A HREF="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true" ADD_DATE="1301066630" LAST_MODIFIED="1303541490">Microsoft Windows XP - Command-line reference A-Z</A>
- )
- Loop, Parse, myList, `n, `r
- {
- RegExMatch( A_LoopField, "HREF=""(.[^""]*)""", MatchLink ) ;Extract Link
- RegExMatch( A_LoopField, ">(.[^<>]*)</A>", MatchName ) ;Extract Name
- ;MsgBox, %MatchLink% %MatchName%
- myFinal .= "`n" . MatchLink1 . "`n" . MatchName1
- ;MsgBox, % Match%N% Match%NP% MatchT%N%
- ;MsgBox, % Match%NP%
- }
- ;Sort, myFinal
- Gui, add, edit,w600 r30 , %myFinal%
- Gui, show
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement