Post

Replies

Boosts

Views

Activity

Reply to Is it possible to get all URL of Safari/Chrome open tabs?
You can get all the URL's for all tabs: tell application "Google Chrome" activate set theWindows to windows repeat with theWindow in theWindows set theTabs to tabs of theWindow repeat with theTab in theTabs set theURL to URL of theTab log theURL end repeat end repeat end tell Don't know how to check for audio state. It is possible to fire off a small JavaScript on each page. So if you can check that with JS that would be an option.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’23
Reply to How to Create a Searchable Help Book with Help Indexer?
I was also trying to find information about how to create a help book. With the information found on this page and on the old Apple Help Programming Guide I was able to create a working help book. I have created a blog post that describes the steps I took: https://fred.appelman.net/?p=196 Creating a link is not allowed, so you have to do copy paste for this.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’22
Reply to WKWebView: Failed to acquire RBS assertion 'WebKit Media Playback'
Try this in info.plist NSAllowsArbitraryLoadsInWebContent This does not fix the problem. Anyone?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to Not receiving Persistent Store Remote Change Notification.
You have to enable these notifications before you load the persistent store. For more details see [https://stackoverflow.com/questions/61790440/coredata-and-cloudkit-sync-works-but-nspersistentstoreremotechange-notification)
Replies
Boosts
Views
Activity
Jan ’24
Reply to Is it possible to get all URL of Safari/Chrome open tabs?
You can get all the URL's for all tabs: tell application "Google Chrome" activate set theWindows to windows repeat with theWindow in theWindows set theTabs to tabs of theWindow repeat with theTab in theTabs set theURL to URL of theTab log theURL end repeat end repeat end tell Don't know how to check for audio state. It is possible to fire off a small JavaScript on each page. So if you can check that with JS that would be an option.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to How to Create a Searchable Help Book with Help Indexer?
I was also trying to find information about how to create a help book. With the information found on this page and on the old Apple Help Programming Guide I was able to create a working help book. I have created a blog post that describes the steps I took: https://fred.appelman.net/?p=196 Creating a link is not allowed, so you have to do copy paste for this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22