alichtman / alichtman/open_tab_tracker

Add support for Safari

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Here's an applescript function that prints out the number of open tabs.

```applescript
tell application "Safari"
count every tab of every window
end tell
```

https://discussions.apple.com/thread/250505964

Probably use https://github.com/andrewp-as-is/applescript.py to run it.

- Make the class run the applescript function
- Return the value to a column in the table -- will need to rework the db logic a bit

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.