-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
打开对话框快速定位目录不能读取qttabbar的标签页 #82
Comments
好的,我会做适配的,想早点用上的话可以加QQ群下载尝鲜版:246308937 |
已加 |
@qstdnx 不好意思,我尝试了几次,没有在QTTabBar控件上找到标签页信息 不过我在QTTabBar的官方文档中找到了有关 获取标签路径的命令:GetTabPath qt:=ComObjCreate("QTTabBarLib.Scripting")
qt.MessageBox(qt.GetFolderPath("ApplicationData")) ;获取AppData路径 成功
qt.InvokeCommand("NewTab","C:\") ;新标签 成功
qt.MessageBox(qt.InvokeCommand("GetTabPath")) ;失败 |
辛苦了,看来没办法了。 |
感觉可以把这个功能独立弄一个菜单,或者再来个菜单3456自己设置_(:3」∠)_ |
最近同样有这个需求,研究了一下返回的数据类型 http://qttabbar.wikidot.com/scripting ,可以直接遍历获取取代 qt:=ComObjCreate("QTTabBarLib.Scripting")
For wnd in qt.Windows{
For tab in wnd.Tabs{
qt.MessageBox(tab.Path)
}
} 然后拿来重写了 |
如图所示
软件官网,http://qttabbar.wikidot.com/
增强Windows自带explorer的软件和tc类似。
The text was updated successfully, but these errors were encountered: