-
-
Save andrewshell/b7a6bc3c0337123c0d632982a1cbce8f to your computer and use it in GitHub Desktop.
Sample script using new async/await shellRunScript
This file contains 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
<?xml version="1.0"?> | |
<opml version="2.0"> | |
<head> | |
<title>iconbar.opml</title> | |
<dateCreated>Fri, 13 Nov 2020 21:25:28 GMT</dateCreated> | |
<dateModified>Fri, 13 Nov 2020 22:28:35 GMT</dateModified> | |
<expansionState>1</expansionState> | |
<lastCursor>2</lastCursor> | |
</head> | |
<body> | |
<outline text="rss" created="Fri, 13 Nov 2020 21:25:28 GMT"> | |
<outline text="let headers = opGetHoistedHeaders ();" created="Fri, 13 Nov 2020 21:25:38 GMT"/> | |
<outline text="let upTitle = await runNodeScript(`string.upper("${headers.title}")`);" created="Fri, 13 Nov 2020 21:44:10 GMT"/> | |
<outline text="alert(upTitle);" created="Fri, 13 Nov 2020 21:55:32 GMT"/> | |
</outline> | |
</body> | |
</opml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment