Guest User

Untitled

a guest
Oct 18th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. // ----------------------------------
  2. // CreateNewGist.exe実行マクロ
  3. // 2012/06/07 TAKANO Sho
  4. // ----------------------------------
  5.  
  6. // ファイルが更新されているかチェック
  7. if ( filename2 == "" || updated ) {
  8. // ファイルのセーブ
  9. save;
  10. // 保存処理結果判断
  11. if ( result == false ) {
  12. endmacro;
  13. }
  14. }
  15.  
  16. // CreateNewGist.exeのパス設定
  17. $createNewGistPath = "C:\\Standalone Programs\\CreateNewGist\\CreateNewGist.exe";
  18.  
  19. // GitHubアカウント情報設定
  20. $user = "user";
  21. $password = "password";
  22.  
  23. // 実行文字列生成
  24. $runstr = $createNewGistPath +" \"" + filename2 + "\" " + $user + " " + $password;
  25.  
  26. // 実行
  27. run $runstr;
  28.  
  29. // マクロ終了
  30. endmacro;
Add Comment
Please, Sign In to add comment