You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working with Jan on Mac through Raycast for the past few weeks. I use Mistral localhost.
The applescript to find the right windows is a bit wonky, there's not a lot of IDs or classes being used by Jan currently, so it's likely to break frequently as is. Better support for productivity tool integration would be great. maybe an official Jan Raycast extension could be a thing? https://www.raycast.com/store
Jan can be talked to from anywhere with a simple Cmd+Space
#!/usr/bin/osascript# Required parameters:# @raycast.schemaVersion 1# @raycast.title Jan AI# @raycast.mode silent# Optional parameters:# @raycast.icon 👋# @raycast.argument1 { "type": "text", "placeholder": "How can i help you?" }# @raycast.packageName jan.raycast
on run argv
tell application "System Events"
tell application process "Jan"
tell window 1
set value of text area 1 of group 3 of group 2 of group 1 of group 2 of group 1 of UI element "Jan" of group 1 of group 1 of group 1 of group 1 to (item 1 of argv)
click button "Send" of group 3 of group 2 of group 1 of group 2 of group 1 of UI element "Jan" of group 1 of group 1 of group 1 of group 1
end tell
end tell
end tell
end run
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been working with Jan on Mac through Raycast for the past few weeks. I use Mistral localhost.
The applescript to find the right windows is a bit wonky, there's not a lot of IDs or classes being used by Jan currently, so it's likely to break frequently as is. Better support for productivity tool integration would be great. maybe an official Jan Raycast extension could be a thing? https://www.raycast.com/store
Jan can be talked to from anywhere with a simple Cmd+Space
Beta Was this translation helpful? Give feedback.
All reactions