Hi Orion Developer,
I’m a developer at Hookmark (https://hookproductivity.com). One of our users recently updated to the latest version of Orion and encountered an issue with our integration.
He has already cleared all Orion data and reinstalled the app, but the script still doesn’t work consistently. Occasionally, it functions for about 2 minutes before failing again. Any suggestions?
So far, I’ve only been able to reproduce the problem by following these specific steps. On my Mac, the issue only occurs when multiple profiles are present. However, for this customer, it happens consistently regardless of profiles.
This is the script
tell application "Orion"
set w to first window
set t to current tab of w
set cn to name of t
set cu to URL of t
return "[" & cn & "](" & cu & ")"
end tell
Here are the steps to reproduce the error:
Open Profile A, load a web page,run the script — it works.
Open Profile B, load a web page, run the script — it works.
Switch back to Profile A,run the script — it shows information from the web page in Profile B instead.
Close Profile B, then try to run the script on a web page in Profile A — an error occurs:
Orion got an error: Can’t make id 2 into type specifier.*
Quit Profile B
Run the script on a web page in Profile A - it works again.
We use Macs.
The script will return correct the web page's title and URL
Version 0.99.134-beta (WebKit 622.1.9.19.2)
Sequoia (15)