0

如何使用批处理脚本执行宏文件(.ebm)?

Attachmate 额外应用程序在录制后具有宏录制选项,它将 .ebm 文件(宏)保存在本地系统中。我写了一个批处理文件来执行这个宏。但它不起作用。

提前致谢!!

我是如何手动操作的 - 我转到文件夹中的应用程序并双击打开 attachmate 应用程序,当单击“工具”选项时,它会显示该列表中记录的宏列表,我单击一个宏来执行它。如何使用批处理脚本自动执行此操作。请建议

找到解决方案,更新下面的脚本。

start "" - After start command, you can give title or empty string (Thanks to compo for help)
extra.exe - This will open your aplication
/h <hostname> - Find your hostname/ip address in Options>Settings>Connection
/m macro path - Which macro you need to execute

更新了批处理脚本

@echo off

start "" extra.exe /h "tplxsuper.xyz.com" /m "C:\Users\Public\Documents\Attachmate\EXTRA!\macros\HELLO.EBM"
exit
4

1 回答 1

0

我就是这样做的。使用您的宏并将文件扩展名从 .ebm 更改为 .elf,您的宏将可以从 BAT 或 VBS 文件执行。

于 2018-07-20T17:27:06.537 回答