m-inan / mac-translate

Google translate in mac app like spotlight
25 stars 5 forks source link

Does somebody use in MacOS Ventura 13.3? #1

Closed dz14Skll closed 1 year ago

dz14Skll commented 1 year ago

I passed the privacy filter by "Open anyway" and the app is open, but no window opened. In the Menu Bar, when the app is active, I cannot display preferences or anything else as a dropdown menu.

I don't understand what I'm doing wrong. Is there a shortcut to activate a window? in a similar way to opening Spotlight?

Thanks!

dz14Skll commented 1 year ago

Sorry! I've already seen the shortcut 😅 ( Cmd + } )

Works perfectly 👍

sickerin commented 1 year ago

I'm actually facing the same issue, upon opening it. Nothing shows up no windows. I tried all the shortcut listed nothing happens. I'm on Mac OS 13.1 Apple Silicon

m-inan commented 1 year ago

Hi @sickerin, default keyboard shortcut is CMD + \. You can see screenshot down below.

shortcut

m-inan commented 1 year ago

I'm using Intel Mac. If it is not working for you, you can try manually in code.

AppDelegate.swift


class AppDelegate: NSObject, NSApplicationDelegate {
...

func applicationDidFinishLaunching(_ aNotification: Notification) { ...

// Add this two line bottom of the method
panel.isPresented = true
panel.makeKeyAndOrderFront(nil)

}

... }

sickerin commented 1 year ago

Hi @m-inan thanks it works. Great app! I believe you have it wrong on the readme. It says CMD + / instead of CMD + \, just fyi.

Also, I think it would be great if when it's first opened/ we click translate.app the window is shown, instead of being hidden. Plus maybe having ? button that will show the shortcuts will make it more user-friendly. I can try to work on it since I'm interested in doing some Mac app dev.