Git Product home page Git Product logo

Comments (5)

austinmw avatar austinmw commented on May 18, 2024 1

Ah, it's Microsoft Edge Dev. Totally forgot about that, sorry! After installing non-dev Edge it works, thanks!

from raycast-promptlab.

SKaplanOfficial avatar SKaplanOfficial commented on May 18, 2024

Hi, Summarize Current Tab will use the active browser and works on Edge (just confirmed on my machine, but lmk if you're having any problems with it). For Summarize Last Email, you'll have to use a custom AppleScript placeholder that fetches the email from Outlook.

from raycast-promptlab.

austinmw avatar austinmw commented on May 18, 2024

Hi, this only seems to work for me when I have Safari open. When only Edge is open I get the message:

Summarize Current Tab
I apologize, but there seems to be an error as the URL and the text are blank. Please provide the necessary information so I can assist you better.

from raycast-promptlab.

SKaplanOfficial avatar SKaplanOfficial commented on May 18, 2024

Hmm, not sure why that's happening for you. Can you make sure Edge is enabled under System Settings > Privacy & Security > Automation > Raycast? Also, is this the base MS Edge app, or one of the other channels (Edge Canary/Dev/Beta)?

from raycast-promptlab.

SKaplanOfficial avatar SKaplanOfficial commented on May 18, 2024

I have custom logic for each browser/browser type (Chromium-based, Safari, Orion, etc.), and didn't think to support anything but the main channels. I can look into that for the next version. In the meantime, if you want to keep using Edge Dev, you can replace the prompt with this:

Based on the following text obtained from the active browser tab, what am I looking at? In your answer, discuss the content and meaning of the website. If the URL or the text are blank, report an error. For context, here is the url: {{as:tell application "Microsoft Edge Dev"
	return URL of active tab of window 1
end tell}}:

And here is the text:
###
{{as:tell application "Microsoft Edge Dev"
	set theTab to active tab of window 1
	tell theTab
		return execute javascript "document.body.innerText;"
	end tell
end tell}}
###

You'll need to enable JavaScript via Apple Events in Edge under Tools > Developer > Allow JavaScript from Apple Events.

from raycast-promptlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.