Skip to content

Instantly share code, notes, and snippets.

@masaakif
Created February 3, 2009 08:38
Show Gist options
  • Save masaakif/57416 to your computer and use it in GitHub Desktop.
Save masaakif/57416 to your computer and use it in GitHub Desktop.
action-codingで実行
//action-coding で実行
//MDIE Ver 0.2.5.3
main();
function main(){
var i;
var opt = "";
//メインループ
for(i=0;i<FolderView.Count;i++){
if(FolderView.Items(i).Selected){
opt = opt +FolderView.Items(i).Path +"\r\n";
}
}
var WshShell = new ActiveXObject("WScript.Shell");
MDIE.echo('jruby "C:\\Program Files\\action-coding\\aco.rb" "' + opt + '"');
WshShell.Run('jruby "C:\\Program Files\\action-coding\\aco.rb" "' + opt + '"');
// MDIE.Clipboard(opt);
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment