gbammc / thor Goto Github PK
View Code? Open in Web Editor NEWSwitch the right application ASAP.
License: MIT License
Switch the right application ASAP.
License: MIT License
在Intel平台的Big Sur系统下,1.5.3和1.5.4均无法把系统偏好设置这个app设置为快捷键。
包括homebrew安装的所有app和从App Store中安装的部分app(lemon cleaner lite)均无法添加到list中,即选中后list依然是空白,但是部分的Mac自带应用可以添加到list中(Safari等)
I'd like to use option+9 for the shortcut, seems it cannot record that.
首先谢谢大神开发这么实用的APP,使用Thor切换app确实很方便很好用。谢谢!
不过我最近在使用过程中发现有个问题无法解决:
就是我的系统同时有mac版chrome,通过parallels安装win8.1系统里面也有一个window版本的chrome。之前使用的过程中一直可以正常唤醒mac系统里面的chrome但是今天不知为何唤醒的是parallels里面win8.1的chrome。
mac版chrom路径:/Applications/Google\ Chrome.app
win8.1版chrome路径:/Users/koukomatsu/Applications\ (Parallels)/{61920071-df00-4a6c-9235-7720a9f878e3}\ Applications.localized/Google\ Chrome.app
请问这个我自己是否有办法处理?如果有请问如何处理?
It would be better when Thor can execute AppleScript.
There is Bug when activating Finder from different space where Finder does not located.
We can use following AppleScript first switching to space 1 and then activate Finder:
tell application "System Events" to key code 18 using {control down}
tell application "Finder"
activate
if (count windows) is 0 then make new Finder window
end tell
Cos some times shortcuts are in order, so apps can be orderable will be very helpful.😊
建议考虑同程序多窗口的处理过程。 目前的状态时,如果一个程序打开两个窗口。一个可见,一个隐藏了,那么所有的操作只针对那个目前可见的窗口进行操作。 隐藏的窗口不对快捷键进行相应。
另外,软件太牛逼了。 给跪了。
Unable to add apps when opening the software in 11.1 RC version
With Thor, I finally made Function 1-12 keys useful, thanks for this piece of software
Will you be opened to a PR to add a feature in the menubar drop down (like preferences) to be able to disable / enable Thor shortcuts
My use-case is that to configure htop, function keys are needed (but my mapping makes me changing app...)
Today I quit the app, and then relaunch it
Install new version Thor
loss old ones shortcuts config data
May be 1.5.2
1.5.3
。。。
例如 ~/Applications/JetBrains Toolbox
MacOS: 12.3.1
Chip: M1
If Finder and other app in same Space, everything is fine.
If quit Thor launcher, use "cmd+tab", no bugs. "option+f" is not one of the default shortcut.
按两次快捷键 会显示 和隐藏,能不能不隐藏??
照片应用,如果是首次启动。就会出现选择图片库的界面——这和直接点击照片图标的行为是不一样的。
Firefox,如果是首次启动,会出现安全模式的对话框,而不是直接打开Firefox浏览器。
另外,能否加入程序启动参数的配置。 也就是在配置界面允许传入运行参数、环境变量。
First of all, thank you! Thor is exactly what I needed. I had tried to build this functionality using Automator Services but they are way too slow for interactive use.
I use Thor to switch between iTerm 2, VS Code, and Chrome, and I frequently have multiple windows open for each. I wish that instead of hitting command-backtick to cycle those app windows, I could repeatedly hit the shortcut assigned in Thor.
Hi,
Love Thor for my Mac!
I would LOVE to have Thor for my Windows pc's too!!!
Do you intend to make Thor work in Windows too?
Thanks!
Steps to reproduce:
It works well if the window is not hidden
I'll have a look to this annoying bug
I didn't find the export/import function on the settings page, but this comment says it's already supported.
This script allows me to create a simple Application out of a shell script or other executable.
For some reason, I am unable to add one of these applications through Thor.
If I knew how, I'd provide debugging, but there isn't any option to do so.
When voiceover is on, I cannot access the record shortcut button in thor.. Voiceover can be accessed with command plus f5.
ProductName: macOS
ProductVersion: 11.4
BuildVersion: 20F71
Thanks.
I wonder if you could enable setting a folder to a hotkey.
I would like to be able to bind a project folder to a key so that I can have finder auto open at a specific directory.
Hello! will version 1.4.0 also get published on github? Or is it app store only now?
Hi,
With Google Chrome, if you go to Settings > More Tools > Create shortcut, you can create a Chrome window that acts as its own app. I use this extensively, and it's great in combination with Thor. However, every time I log out or reboot, the shortcuts for these "apps" simply disappear. Please advise.
Thanks!
With VSCode bound to a shortcut through Thor, it wasn't monitoring my Discord client when I was connecting through the Discord Presence extension on VSCode.
I'm not sure if this happens across all apps since I didn't test it out.
Go to Security and Privacy Settings
Go to Full Disk Access
Give Thor permissions to handle full disk access
Hi - bit of a vague bug report I'm afraid as the issue is intermittent.
My setup is a use ctrl-number (1, 2, 3, etc..) to switch between apps, with each app full-screen, and one desktop with a few other rarely used apps (which i don't have shortcuts for).
The issue is when I switch to an app, sometimes it displays the desktop instead of the intended app, BUT if I type it still seems to go to the app... so it seems to have focus somehow but not be visible. If I switch to another app, and then back to it, it usually displays normally. Does this sound familiar at all?
Interestingly, I also tried Apptivate and this exhibits the exact same behaviour!?!
I'm running 11.2.3 Big Sur, any info you can provide would be helpful, thanks.
The "Enable shortcut" toggle in the Thor settings seems to do nothing. I would prefer to use shift control opt cmd + T for a different application. Currently no matter how I configure the Thor settings this shortcut is not able to be assigned to another application.
summary
export your keymap for back up or sharing purposes
use case:
If you reinstall mac os, or if you want to share your key map with a friend or co worker who uses thor, backing up/exporting would be a nice option.
I checked start at login, but it doesn't work after restart.
Thor Version: 1.5.3
OS Version: Mojave 10.14.6 (18G6042)
I can't find a way to add Finder app to Thor, can someone tell me how to solve this? plz
用 brew 来管理, 安装 & 更新比较方便, 就不用每次去github下载, 然后手动安装了
macOS 菜单栏空间属实有限/
Hi,
Macbook Air M1
OS X Big Sur 11.0.1 (20B29)
Thor version: latest from Mac App Store (2020-12-09)
When I try to add Calendar.app by browsing to it and clicking Open, nothing happens, the app is not added to the list. Even tried to create an alias to it and add that, also not working.
Other apps seem to be adding to the list as expected.
Can you please help?
Also, if an app is on another virtual screen or full-screen mode, invoking the app designated shortcut doesn't take me to the app, only the app taskbar changes (top row on the screen, e.g. Mail.app).
使用配置文件比较好备份, 而且配置的时候不用去搜索 Applications, 直接写就好了
Thor 1.5.5
macOS 11.1 RC on Mac Mini with Apple Silicon M1
If I hide the menu bar icon, it is impossible for me to reopen the shortcut creation dialog.
Assume I have e.g F3 as a shortcut to open Safari.
Current behaviour:
Proposed behaviour:
This would greatly improve workflows where multiple windows of the same application are used, such as multiple IDE project windows or multiple separate Safari instances.
As some people may prefer the current opening and closing behaviour, this new behaviour would be enabled under a checkbox in settings.
If you would accept the PR, I would be happy to write the changes myself, though I will need some advice in how to set up the project for development and which parts of the code are responsible for the window management.
Let me know what you think! :)
Hi, I would like to set different apps for left cmd with some key and right cmd with some key, is that possible?
I love this app, but haven't found any app with similar function for windows. Please recommend one.Thank you very much.
Just like iTerm global shortcut key, when the app is foreground and active, press the shortcut will hide that app. So you can toggle the app, instead of just bring it foreground.
I think this is useful because if you launch the wrong app, press it again to hide it. Hope you can support that :)
It seems that the Manico supports the F1-12 functional keys in the Configuration
-> Custom
-> Shortcuts
for applications, it seems the App Shortcuts
from System Preferences
-> Keyboard
-> Shortcuts
doesn't support the Fx serial keys, either.
I wonder that how does the Manico
implement it, so weird for me. Maybe look into this later.
after pod install
, I tried to compile the project, but I got the ld errors like following
duplicate symbol _MASShortcutGlyph in:
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASDictionaryTransformer.o
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASHotKey.o
duplicate symbol _MASShortcutGlyph in:
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASDictionaryTransformer.o
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASShortcut.o
duplicate symbol _MASShortcutGlyph in:
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASDictionaryTransformer.o
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASShortcutBinder.o
duplicate symbol _MASShortcutGlyph in:
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASDictionaryTransformer.o
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASShortcutMonitor.o
duplicate symbol _MASShortcutGlyph in:
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASDictionaryTransformer.o
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASShortcutValidator.o
duplicate symbol _MASShortcutGlyph in:
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASDictionaryTransformer.o
/Users/dingxijin/Library/Developer/Xcode/DerivedData/Thor-gwtiknbgsxjuylbmamkkfehghhzz/Build/Intermediates/Pods.build/Debug/MASShortcut.build/Objects-normal/x86_64/MASShortcutView.o
ld: 6 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
after pod install, I run build.sh
I got below result
User defaults from command line:
IDEArchivePathOverride = /Users/haitongz/Code/mac/Thor/Thor
xcodebuild: error: The workspace named "Thor" does not contain a scheme named "Thor". The "-list" option can be used to find the names of the schemes in the workspace.
--- xcodebuild: WARNING: -exportArchive without -exportOptionsPlist is deprecated
error: archive not found at path '/Users/haitongz/Code/mac/Thor/Thor.xcarchive'
** EXPORT FAILED **
zip warning: name not matched: Thor.app
zip error: Nothing to do! (try: zip -r Thor.zip . -i Thor.app)
I am a newbie for mac app learning
Finder says:
“Thor.app” is damaged and can’t be opened. You should move it to the Trash.
Downloaded the zip twice same error each time (after having accepted your developer identity each time)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.