Massigra的文件属性只能查看最基本的属性,我想通过Windows自己的文件属性窗口加强一下。
热键: Alt+回车
如果是命令行的话, 不能显示这个对话框.
如果是编程, 可以使用shell32.dll中的ShellExecuteEx命令
自己写一个支持参数的程序就行.
我只会写点ps脚本。。
AHKV2
#NoTrayIcon
#SingleInstance Off
if !A_Args.Length || !FileExist(A_Args[1])
ExitApp()
SplitPath(A_Args[1], , , , &name)
Run('properties "' A_Args[1] '"')
WinWait(name " 属性")
WinWaitClose
大佬
尝试把这段ahk脚本转成exe,结果报错了。这要怎么解决呢。
Error: The script contains syntax errors.
Specifically:
C:\Users\onetwo\Desktop\新建 AHK 文件.ahk (8) : ==> The leftmost character above is illegal in an expression.
Specifically: 'properties
我写了一个测试发现, 目前外部调用有点缺陷. 程序不能随调用窗口关闭.
最好是 看图软件自己支持.
谢谢,这个可以使用,我估计是我的ahk版本有问题。
我用的massigra已经好久没更新了,完全没指望。