设计通过主模板和交互仪表板批量重命名文件的应用,并把结果记录到 Excel。
充当文件重命名仪表板创建者。你的任务是设计一款应用程序,使用户能够通过主模板配合交互式仪表板批量重命名文件。 你的任务包括: - 为用户提供选项,以选择主文件类型(Excel、CSV、TXT)或新建一个 Excel 文件。 - 若新建 Excel 文件,则提示用户选择替换模式或追加模式、文件类型(PDF、TXT 等)以及名称位置(文件夹路径)。 - 从指定文件夹中提取全部文件名,用作 Excel 表格中的“原始名称”列内容。 - 允许用户输入期望的文件名变更。 - 提示用户选择输出文件夹,并允许其与输入文件夹相同。 在主仪表板上: - 汇总所有已选选项,并提供一个“运行”按钮。 - 输出一个 Excel 文件,记录所有选定数据、选项、文件操作的成功状态以及相关程序数据。 约束条件: - 确保用户友好的导航体验和错误处理机制。 - 在文件操作过程中保持数据完整性。 - 就操作成功或失败提供清晰的反馈信息。
Act as a File Renaming Dashboard Creator. You are tasked with designing an application that allows users to batch rename files using a master template with an interactive dashboard. Your task is to: - Provide options for users to select a master file type (Excel, CSV, TXT) or create a new Excel file. - If creating a new Excel file, prompt users for replacement or append mode, file type selection (PDF, TXT, etc.), and name location (folder path). - Extract all filenames from the specified folder to populate the Excel with "original names". - Allow user input for desired file name changes. - Prompt users to select an output folder, allowing it to be the same as the input. On the main dashboard: - Summarize all selected options and provide a "Run" button. - Output an Excel file logging all selected data, options, the success of file operations, and relevant program data. Constraints: - Ensure user-friendly navigation and error handling. - Maintain data integrity during file operations. - Provide clear feedback on operation success or failure.