home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 January (DVD)
/
VPR980100.ISO
/
OLS
/
WIN32
/
KAKIMAC
/
KAKIMACA.LZH
/
K_DESK5I.MAC
< prev
next >
Wrap
Text File
|
1994-12-07
|
5KB
|
91 lines
//【マクロ名】k_DESK51.mac: デスクトップ番号を選んで初期化する従属マクロ
// k_DESK Ver.1.51 by 水銀水(Suigwinsui)/小田 明夫(HGD01603)
// 平成06年12月07日(水) 午前08時50分50秒
// (k_DESK51.macをk_DESK Ver.1.51 のメインマクロとします)
//【連作情報】日本語文書作成支援「書きマクロ」αシリーズ Vol.1Ver.1#K3/3(秀丸エディタVer.1.32対応版)
//【使用対象】秀丸 for Windows 上で日本語文章を快適に処理したい全てのみなさま。
//【機能概略】秀丸に「複数デスクトップ保存/復元」機能を追加する。やめられまへん!(^^)!、ほんまでっせ!!!
//【使用方法】k_DESK(Ver.1.51)の機能を秀丸エディタで利用するには、
// k_DESK51.mac だけを登録/実行してください。
//【構 成】3macro= k_DESK51.mac,k_DESK5s.mac,k_DESK5i.mac
top_desk:
$k_DESKFB0=hidemarudir+"\\kakimac\\k_DESK00.kdf";
$k_DESKFB1=hidemarudir+"\\kakimac\\k_DESK01.kdf";
$k_DESKFB2=hidemarudir+"\\kakimac\\k_DESK02.kdf";
$k_DESKFB3=hidemarudir+"\\kakimac\\k_DESK03.kdf";
$k_DESKFB4=hidemarudir+"\\kakimac\\k_DESK04.kdf";
$k_DESKFB5=hidemarudir+"\\kakimac\\k_DESK05.kdf";
$k_DESKFB6=hidemarudir+"\\kakimac\\k_DESK06.kdf";
$k_DESKFB7=hidemarudir+"\\kakimac\\k_DESK07.kdf";
$k_DESKFB8=hidemarudir+"\\kakimac\\k_DESK08.kdf";
$k_DESKFB9=hidemarudir+"\\kakimac\\k_DESK09.kdf";
$kb0=getinistr($k_DESKFB0,"k_DESKMem","BookName");
$kb1=getinistr($k_DESKFB1,"k_DESKMem","BookName");
$kb2=getinistr($k_DESKFB2,"k_DESKMem","BookName");
$kb3=getinistr($k_DESKFB3,"k_DESKMem","BookName");
$kb4=getinistr($k_DESKFB4,"k_DESKMem","BookName");
$kb5=getinistr($k_DESKFB5,"k_DESKMem","BookName");
$kb6=getinistr($k_DESKFB6,"k_DESKMem","BookName");
$kb7=getinistr($k_DESKFB7,"k_DESKMem","BookName");
$kb8=getinistr($k_DESKFB8,"k_DESKMem","BookName");
$kb9=getinistr($k_DESKFB9,"k_DESKMem","BookName");
#B=getininum($k_DESKFB0,"k_DESKMem","SetNum");
menuDispS:
menu "●初期化する『 Files Set 』選択 k_DESK Ver.1.51 水銀水",
" □ Files Set &a "+$kb0,//+$sM[0],
" □ Files Set &b "+$kb1,//+$sM[1],
" □ Files Set &c "+$kb2,//+$sM[2],
" □ Files Set &d "+$kb3,//+$sM[3],
" □ Files Set &e "+$kb4,//+$sM[4],
" □ Files Set &f "+$kb5,//+$sM[5],
" □ Files Set &g "+$kb6,//+$sM[6],
" □ Files Set &h "+$kb7,//+$sM[7],
" □ Files Set &i "+$kb8,//+$sM[8],
" □ Files Set &j "+$kb9,//+$sM[9],
"━━━━━━━━━━━━━━━━━━━━━━━━ ",
"──────── 初期化終了 [Esc]────────",
"━━━━━━━━━━━━━━━━━━━━━━━━ ";
if(result==0)endmacro;
else if(result==1){message "●k_DESK Files Set(デスクトップ)初期化の概略\nクリックしたk_DESK Files Set(デスクトップ)を初期化します。\n"+
"なお、初期化されたFiles Set(デスクトップ)は、\"一応\"、復活できないので(現バージョンではバックアップは作りません)、初期化を実行する前に確認が入ります。各自、ご注意下さい(^^)"+
"\n────────────────────────\n"+
" Special Thanks to masasan in Seattle, U.S.A.\n"+
"(C)1994 水銀水(Suigwinsui)/小田明夫(HGD01603)";
goto top_desk;
}else if(result==2) {#B=0;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",0;
}else if(result==3) {#B=1;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",1;
}else if(result==4) {#B=2;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",2;
}else if(result==5) {#B=3;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",3;
}else if(result==6) {#B=4;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",4;
}else if(result==7) {#B=5;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",5;
}else if(result==8) {#B=6;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",6;
}else if(result==9) {#B=7;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",7;
}else if(result==10){#B=8;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",8;
}else if(result==11){#B=9;//writeininum $k_DESKFB0,"k_DESKSet","SetNum",9;
}else if(result==13){endmacro;
//}else if(result==15){endmacro;execmacro "k_desk43.mac";
}else goto top_desk;
$BookName=hidemarudir+"\\kakimac\\"+"k_DESK0"+str(#B)+".kdf";
$TitleHead=getinistr($BookName,"k_DESKMem","BookName");
if($TitleHead==""){
question "●注意...未定義のFiles Set(デスクトップ) の初期化は意味がありません..."+
"\n●理由...いま選択された第"+str(#B+1)+"番目のデスクトップ(Files Set)は、 未定義で、名前がまだ名付けられていません。"+
"したがって、初期化の必要はないと思われますが、あえて初期化の処理を強制的に実行しようとしています。"+
"\nとりあえず、初期化作業、やっておきやしょうか、ダンナ?\n"+
"●対策...普通は「いいえ」を選択するものですが(^^;";
if(!result)goto menuDispS;
}else{
question "●初期化するFiles Set(デスクトップ)の確認\n"+
"▼第"+str(#B+1)+"番 Files Set\n"+
"───────────────────────\n"+
$TitleHead+
"\n──────────────────────\n"+
"■このFiles Set(デスクトップ)を初期化して、よろしいですか?\n";
if(!result)goto menuDispS;
}
writeinistr $BookName,"k_DESKMem","BookName","";
writeininum $BookName,"k_DESKMem","maxFileNum",0;
goto top_desk;