Skip to content
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

Support "History > Reopen Last Closed Window" in Safari #10

Open
tedmiston opened this issue Aug 27, 2016 · 0 comments
Open

Support "History > Reopen Last Closed Window" in Safari #10

tedmiston opened this issue Aug 27, 2016 · 0 comments

Comments

@tedmiston
Copy link
Owner

tedmiston commented Aug 27, 2016

There was support for this with the previous approach to closing tabs:

tell application "Safari"
    activate
    tell application "System Events"
        keystroke "w" using {command down, shift down}
    end tell
end tell

vs current approach:

on closeTabs(sourceWindow)
    using terms from application "Safari"
        tell application sourceBrowser to close sourceWindow
    end using terms from
end closeTabs

But at the tradeoff of being uglier and less robust. Something to keep in mind for now.

tedmiston added a commit that referenced this issue Aug 27, 2016
See issue #10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant