用于设置文件视图位置的 Dreamweaver 命令
有没有办法通过shell命令在director的fieldview中找到特定文件?
我使用其他应用程序在 Dreamweaver 中打开这样的文件 (test.php):
"C:\Program Files\Dreamweaver.exe c:\test.php"
但是列出本地文件的文件视图不会跳转到打开的文件。
也许我可以编写一个脚本并通过 shell 启动该脚本以在文件视图中找到该文件?
感谢您的帮助或提示!
is there a way to locate a specific file in the fielview of director via a shell command?
I open a file (test.php) like this in dreamweaver, using an other application:
"C:\Program Files\Dreamweaver.exe c:\test.php"
But the fileview listing the local files does not jump to the opened file.
Maybe I can write a script and launch this script via shell to locate the file in the fileview?
Thanks for help or hints!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我假设您正在谈论通过命令行打开的文件自动在“文件”面板中被选中。
据我所知,没有记录的方法可以让 Dreamweaver 从命令行执行操作。
您可以轻松实现的最接近的方法是将键盘快捷键分配给“站点”->“通过编辑找到站点(Mac 上的 Dreamweaver?)->键盘快捷键。我不知道,但可能有某种方法可以通过命令行发送特定的应用程序击键。
I assume that you're talking about having the file opened via the command line automatically become selected in the Files panel.
I am aware of no documented method of getting Dreamweaver to perform operations from the command line.
About the closest you're going to easily get to would be to assign a keyboard shortcut to Site -> Locate in Site via Edit (Dreamweaver on Mac?) -> Keyboard Shortcuts. I'm not aware of it, but there may be some way to send an a specific application keystrokes via the command line.