以下のように記述すると外部アプリの起動が可能になるとあったのですが、
これをmacでも可能にするにはどのように書き換えるといいのでしょうか?
どうぞよろしくお願いします。
#######import "shell32.dll"
int ShellExecuteA(int hWnd,int Verb,string File,int Parameter,int Path,int ShowCommand);
#######import
int start() {
ShellExecuteA(0,0,"起動させたいアプリの場所","","",1);
return(0);
}
理想としましては、ある条件が揃うとautometorというアプリを起動させたいと思っています。
あなたの回答
tips
プレビュー