Created
June 7, 2012 04:40
-
-
Save masaru-b-cl/2886609 to your computer and use it in GitHub Desktop.
CreateNewGistを呼び出す秀丸マクロ
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
// ---------------------------------- | |
// CreateNewGist.exe実行マクロ | |
// 2012/06/07 TAKANO Sho | |
// ---------------------------------- | |
// ファイルが更新されているかチェック | |
if ( filename2 == "" || updated ) { | |
// ファイルのセーブ | |
save; | |
// 保存処理結果判断 | |
if ( result == false ) { | |
endmacro; | |
} | |
} | |
// CreateNewGist.exeのパス設定 | |
$createNewGistPath = "C:\\Standalone Programs\\CreateNewGist\\CreateNewGist.exe"; | |
// GitHubアカウント情報設定 | |
$user = "user"; | |
$password = "password"; | |
// 実行文字列生成 | |
$runstr = $createNewGistPath +" \"" + filename2 + "\" " + $user + " " + $password; | |
// 実行 | |
run $runstr; | |
// マクロ終了 | |
endmacro; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment