Giter Site home page Giter Site logo

Opening `atom://` with Atom about electron HOT 5 CLOSED

electron avatar electron commented on May 3, 2024
Opening `atom://` with Atom

from electron.

Comments (5)

nathansobo avatar nathansobo commented on May 3, 2024

Will this interfere with anything related to the existing Atom publishing
protocol? Not that I necessarily think that's a show-stopper. Just curious.

On Tue, Jul 9, 2013 at 3:30 PM, Corey Johnson [email protected]:

We want to use urls with the atom scheme (like
atom://share-session/90210).

Is there a way to open these urls with Atom?


Reply to this email directly or view it on GitHubhttps://github.com//issues/36
.

from electron.

zcbenz avatar zcbenz commented on May 3, 2024

@probablycorey do you want it to be system global, so Atom would be opened with atom:// scheme urls when they are opened from other applications?

from electron.

probablycorey avatar probablycorey commented on May 3, 2024

If possible that is what we want. The use case we are thinkin if is: one
person pastes an atom link into a chat room when another user clickes that
link it will open atom and join a collaboration session.

On Tuesday, July 9, 2013, Cheng Zhao wrote:

@probablycorey https://github.com/probablycorey do you want it to be
system global, so Atom would be opened with atom:// scheme urls when they
are opened from other applications?


Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-20714312
.

from electron.

nathansobo avatar nathansobo commented on May 3, 2024

I'm pretty sure that's what he's talking about, yes.

On Tue, Jul 9, 2013 at 6:12 PM, Cheng Zhao [email protected] wrote:

@probablycorey https://github.com/probablycorey do you want it to be
system global, so Atom would be opened with atom:// scheme urls when they
are opened from other applications?


Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-20714312
.

from electron.

zcbenz avatar zcbenz commented on May 3, 2024

It's now supported, see atom/atom@753b11c for usage example.

Some notes:

  1. The open-url event may be emitted very early, even before the will-finish-launching event, this situation happens when Atom is started to open the URL. And we should also be careful not to open the empty editor in this case.
  2. The open-url event can be emitted for multiple times after application finished launching, just like open-file.
  3. OS X reads the Info.plist to register the URL scheme, so atom:// can work only after you opened the Atom.app for once.

from electron.

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.