alichtman / alichtman/open_tab_tracker

Add support for Safari

Offen
#6 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.