Describe the bug
After updating to 4.203 my typed apple scripts went missing Run Apple Script (async in background). I should have instead saved as apple script instead of holding the code in BetterTouchTool.
Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
keyboard
Screenshots
Device information:
- Macbook Pro M1 14 inch
- macOS version: Ventura 13.5.1
- BetterTouchTool version: 4.203
That is weird. I don't see any reason why they would be gone.
Do you maybe have the experimental iCloud or Dropbox sync enabled?
If you need them back, first try to create a backup of this folder: ~/Library/Application Support/BetterTouchTool (go there via Finder => Go => Go to Folder, make sure to include the ~). Then send the contents of that folder to andreas@folivora.ai, I should be able to export them from your previous data file.
Yea it is, I was not expecting to spend a long trying to recreate my setup.
I do have one drive but I don't sync that folder.
I had a decent script to open applications and close/quit them.
My apple script knowledge is limited, all I want to do is open an application in the current monitor
if the application is not running activate.I also want to close a window or quit if its the last window.
I sent the zip file, see if you can find something in there. This was a backup from
Time Machine the night before. I don't remember having an ssd connected at that time
but it said that time.
Thanks
I have this code for closing, probably needs some tweaking. Still
working some things out in the opening of applications.
-- Set this variable to true if you want the last Kitty window to quit the application
set quitLastKittyWindow to false
tell application "System Events"
set frontApp to name of first application process whose frontmost is true
end tell
if frontApp is equal to "kitty" then
tell application "System Events"
tell process "kitty"
if (count of windows) is equal to 1 then
if quitLastKittyWindow then
click menu item "Quit Kitty" of menu 1 of menu bar item "Kitty" of menu bar 1
else
click menu item "Close OS Window" of menu 1 of menu bar item "Shell" of menu bar 1
end if
else
click menu item "Close OS Window" of menu 1 of menu bar item "Shell" of menu bar 1
end if
end tell
end tell
else
tell application frontApp
if (count of windows) is equal to 1 then
quit
else
close front window
end if
end tell
end if