Skip to content

Commit

Permalink
some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linpinger committed Jul 26, 2016
1 parent eae1340 commit 543b075
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Txt2eBook.ahkL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#NoENV
; 预计功能: 根据正则分析标题,生成包含目录的ebook文件
VerDate := "2016-07-01"
VerDate := "2016-07-04"
; 2013-5-7: mobigen生成的mobi格式在Kindle PaperWhite上,跳转目录显示为乱码,需使用kindlegen

FoxDir := FoxReg("保存目录")
Expand Down Expand Up @@ -346,8 +346,15 @@ Txt2eBook: ;
return
}
} else {
msgbox, 文件已存在,请重命名原文件`n%TestPath%
return
NewOLDFile := bookname . "_" . A_now . "." . EpubOutExt
Filemove, %TestPath%, %BookName%\%NewOLDFile%, 1
ifExist, %TestPath%
{
msgbox, 重命名失败,请手动修改文件名`n%TestPath%
return
} else {
TrayTip, 文件已存在:, 已重命名:`n%BookName%.%EpubOutExt%`n为`n%NewOLDFile%
}
}

saveNowREList() ; 保存RE1表达式
Expand Down
Binary file modified Txt2eBook.exe
Binary file not shown.
1 change: 1 addition & 0 deletions Txt2eBook.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ <h2>Txt2eBook(文本转电子书:mobi,epub,pdf,umd)</h2>

<b>更新日志:</b><br>
<ul>
<li>2016-07-04: 修改: 一些小修改</li>
<li>2016-07-01: 修改: 一些小修改</li>
<li>2016-06-29: 修改: 若第二行不为空,就作为作者,多谢 文风</li>
<li>2015-04-10: 添加: 保存使用过的正则表达式,多谢crystal744159</li>
Expand Down

0 comments on commit 543b075

Please sign in to comment.