diff --git a/main.aardio b/main.aardio index 67ca479..221a6f7 100644 --- a/main.aardio +++ b/main.aardio @@ -60,14 +60,16 @@ mainForm.btnSelectFile.oncommand = function(id, event) { mainForm.btnRun.oncommand = function(id, event) { var inputFilePath = mainForm.inputFile.text; if (!inputFilePath) { - console.log("请先选择输入文件!"); + mainForm.editConsole.appendLink('\r\n'); + mainForm.editConsole.appendText( textColor = 0xC7C7FF, point = 10, "请先选择输入文件!"); return; } // 弹出保存文件对话框,选择PDF保存路径 var outputFilePath = fsys.dlg.save("PDF 文件|*.pdf||",, "选择保存路径"); if (!outputFilePath) { - console.log("请选择PDF文件的保存路径!"); + mainForm.editConsole.appendLink('\r\n'); + mainForm.editConsole.appendText( textColor = 0xC7C7FF, point = 10, "请选择PDF文件的保存路径!"); return; }