raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.23k stars 2.93k forks source link

[Google Chrome] Add New Window support #5444

Closed lzm0 closed 1 year ago

lzm0 commented 1 year ago

Extension

https://www.raycast.com/Codely/google-chrome

Description

Currently, the Google Chrome plugin only supports adding new tabs. Creating a new window in the current display using a shortcut would be nice.

Who will benefit from this feature?

I create a lot of new Chrome windows because I use multiple spaces to categorize different tasks. People with a similar habbit will benefit a lot.

Anything else?

Here are some AppleScript I create for this task

tell application "Google Chrome"
    make new window
    activate
end tell

Variant that clicks the dock icon directly:

tell application "System Events" to tell application process "Dock" to tell list 1 to tell UI element "Google Chrome"
    perform action "AXShowMenu"
    tell menu "Google Chrome" to tell menu item "New Window" to perform action "AXPress"
end tell
raycastbot commented 1 year ago

Thank you for opening this issue!

🔔 @rgomezcasas @bromanko @crisboarna @andreaselia you might want to have a look.

💡 Tip: Once the issue is resolved, comment @raycastbot close this issue to close it.

raycastbot commented 1 year ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 1 year ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.