Re: [Orgmode] org-protocol links from adobe reader

2009-05-12 Thread Sebastian Rose

Yeeess!

:-D


Friedrich Delgado Friedrichs  writes:
> Done. Hope you like it :)
>
> Sebastian Rose schrieb:
>> Friedrich Delgado Friedrichs  writes:
>> > Sebastian Rose schrieb:
>> >> How about adding it to the org-protocol docs on Worg:
>> > Just kidding, I just registered on repo.or.cz and sent mail to
>> > Bastien.
>> Looking forward to see your name show up in the next codeswarm video :)
> ---Zitatende---


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-protocol links from adobe reader

2009-05-12 Thread Friedrich Delgado Friedrichs
Done. Hope you like it :)

Sebastian Rose schrieb:
> Friedrich Delgado Friedrichs  writes:
> > Sebastian Rose schrieb:
> >> How about adding it to the org-protocol docs on Worg:
> > Just kidding, I just registered on repo.or.cz and sent mail to
> > Bastien.
> Looking forward to see your name show up in the next codeswarm video :)
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


signature.asc
Description: Digital signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-protocol links from adobe reader

2009-05-12 Thread Sebastian Rose
Friedrich Delgado Friedrichs  writes:
> Sebastian Rose schrieb:
>> How about adding it to the org-protocol docs on Worg:
>
>>http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3
>> 
>> I wouldn't bother to do it myself, but, as you might have read on the
>> other thread, code_swarm is better for projects with lots of committers
>> ;-)
> ---Zitatende---
>
> Help! Help! I'm being dragged into another project against my will!
>
> ;-)
>
> Just kidding, I just registered on repo.or.cz and sent mail to
> Bastien.

Looking forward to see your name show up in the next codeswarm video :)

Thanks

  Sebastian


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-protocol links from adobe reader

2009-05-11 Thread Friedrich Delgado Friedrichs
Sebastian Rose schrieb:
> How about adding it to the org-protocol docs on Worg:

>http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3
> 
> I wouldn't bother to do it myself, but, as you might have read on the
> other thread, code_swarm is better for projects with lots of committers
> ;-)
---Zitatende---

Help! Help! I'm being dragged into another project against my will!

;-)

Just kidding, I just registered on repo.or.cz and sent mail to
Bastien.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


signature.asc
Description: Digital signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-protocol links from adobe reader

2009-05-11 Thread Sebastian Rose
Hi Friedrich,


I was planing to investigate for org-protocol and Acrobat for a long
time now and never got around to make it.

Great stuff!!

I think we should add this to the org-protocol docs on worg. How about
adding it to the org-protocol docs on Worg:

   http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3

I wouldn't bother to do it myself, but, as you might have read on the
other thread, code_swarm is better for projects with lots of committers
;-)


Best


   Sebastian


Friedrich Delgado Friedrichs  writes:
> Hi.
>
> I've just migrated from org-annotation-helper to org-protocol and I've
> managed to adapt the hints from
> http://article.gmane.org/gmane.emacs.orgmode/6810 to org-protocol.
>
> It's simple, you just change the protocol accordingly, and call
> encodeURIComponent, so you arrive with:
>
> app.addMenuItem({cName:"org-store-link", cParent:"Tools",
>cExec:"app.launchURL('org-protocol://store-link://' +
>encodeURIComponent(this.URL) + '/' +
>encodeURIComponent(this.info.Title));"});
>
> for org-store-link and
>
> app.addMenuItem({cName:"org-remember", cParent:"Tools",
>cExec:"app.launchURL('org-protocol://remember://' +
>encodeURIComponent(this.URL) + '/' +
>encodeURIComponent(this.info.Title) + '/');"});
>
> or org-remember.
>
> Drop these into ~/.adobe/Acrobat/9.0/JavaScripts and you should be
> good to go.
>
> Note that modern emacsen also are able to display pdfs and
> org-store-link will already come up with a valid file:// link, but
> doesn't give you the document title, so this might be convenient, even
> if you prefer to open links to pdf files in emacs.
>
> Kind regards
>  FDF


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-protocol links from adobe reader

2009-05-11 Thread Friedrich Delgado Friedrichs
Hi.

I've just migrated from org-annotation-helper to org-protocol and I've
managed to adapt the hints from
http://article.gmane.org/gmane.emacs.orgmode/6810 to org-protocol.

It's simple, you just change the protocol accordingly, and call
encodeURIComponent, so you arrive with:

app.addMenuItem({cName:"org-store-link", cParent:"Tools",
   cExec:"app.launchURL('org-protocol://store-link://' +
   encodeURIComponent(this.URL) + '/' +
   encodeURIComponent(this.info.Title));"});

for org-store-link and

app.addMenuItem({cName:"org-remember", cParent:"Tools",
   cExec:"app.launchURL('org-protocol://remember://' +
   encodeURIComponent(this.URL) + '/' +
   encodeURIComponent(this.info.Title) + '/');"});

or org-remember.

Drop these into ~/.adobe/Acrobat/9.0/JavaScripts and you should be
good to go.

Note that modern emacsen also are able to display pdfs and
org-store-link will already come up with a valid file:// link, but
doesn't give you the document title, so this might be convenient, even
if you prefer to open links to pdf files in emacs.

Kind regards
 FDF
-- 
Friedrich Delgado Friedrichs 
Laziness led to the invention of the most useful tools.


signature.asc
Description: Digital signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode