|
HSPの選択部分コンパイル+実行
- ページ: Macro/投稿
- 作者: xi?
- カテゴリー: ppa
- 投稿日: 2002-08-21 (水) 06:06:01
メッセージ
- XiCompilerというツールが必要
- パスの記述も適宜変更が必要。
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| | //ppaマクロ
var
Path, Dir :String;
i :Integer;
begin
// フルパス→ディレクトリ取得
Path := S_GetFilename();
Dir := '';
i := Pos('\',Path);
while (i>0) do begin
Dir := Dir + Copy(Path,1,i);
Path := Delete(Path,1,i);
i := Pos('\',Path);
end;
Dir := Delete(Dir,Length(Dir),1);
// 選択範囲を実行
S_Copy();
//xicmp.exeのパスを指定のこと↓
S_ExecCommand('E:\HSP\xicmp.exe '+Dir+' /clp',0);
end;
|
|
|