トップ «前の日記(2006-10-30) 最新 次の日記(2006-11-01)» 編集

日々の破片

著作一覧

2006-10-31

_ Majerus.net Active Shell

MAS.

ASRをJScript、VBScriptの次に置いてくれてるので紹介。
こんな感じで使える。

MAS JScript> var x = new ActiveXObject("Microsoft.XMLHTTP");
MAS JScript> x.open("GET", "http://www.yahoo.co.jp", false);
MAS JScript> x.send();
MAS JScript> ? x.responseText.substring(0, 50);
<html>
<head>
<meta http-equiv="Content-Type" cont
MAS JScript> Exit();
あるいは、
MAS VBScript> Dim x
MAS VBScript> Set x = CreateObject("Microsoft.XMLHTTP")
MAS VBScript> x.open "GET", "http://www.google.co.jp", False
MAS VBScript> x.send
MAS VBScript> ? Len(x.responseText)
4,125
MAS VBScript> ? Left(x.responseText, 50)
<html><head><meta http-equiv="content-type" conten
MAS VBScript> Quit
irbのJScript/VBScript版として使えるかな(という意味ではirbがあるからASR版はいまいち使い道はないかも知れないけど)。


2003|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|

ジェズイットを見習え