I cant argue with that , dealing with C can be quite “an interesting”
experience :D it’s better and probably healthier when it happens at small
dosages.
On Thu, 12 Oct 2017 at 11:56, Manuel Leuenberger
wrote:
> Yes, that was my thread. Thanks for the hint with overlaying a transparent
> OS window
Yes, that was my thread. Thanks for the hint with overlaying a transparent OS
window and controlling it from within Pharo. The overlay solution is not a
priority for me, as it would require me to dive deeper into the macOS world. I
rather live in the Pharo world, for now. :)
> On 12 Oct 2017, a
Probably it was your thread but as I said you can make a "hack" and overlay
a system GUI over Pharo GUI This way you can view the PDF, "inside" Pharo.
I think it is even possile to get the handle of the Pharo window and
directly affect it to embed a PDF viewer.
The second solution is better becau
Sure, a system call out would be nicest way to register a handler.
Unfortunately, registering custom URI schemes seems to be completely different
on every platform, as well as how they receive an activation event. OS X uses a
plist, Windows a registry entry, for Linux depends on the distro. So I
Ok, I see. Building a native app and interfacing it from pharo is the most
reliable version. I was just thinking that having a system call out it might be
easier to make it cross-platform. I would be interested to have that available
for all platforms.
Norbert
> Am 12.10.2017 um 09:20 schrieb
That's what I did. Only I used a native Objective-C app, as it provides a simple API to register to the events and will even be started if it's not running yet.Am 12.10.2017 08:50 schrieb Norbert Hartl :I think all you need is to do a system call out to the OS in order to register your scheme. For
I think all you need is to do a system call out to the OS in order to register
your scheme. For Mac OS it would be sonething like
https://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
And then you can see if it is what you want. Custom handlers associate a url
s
Sounds like a nice setup you got there :).
I want to integrate documents displayed in the system viewer, as they cannot be
displayed within Pharo (Web, PDF, …). So hyperlinking is the only way I see to
get something close. I created a little demo where I injected hyperlinks in a
PDF like ‘pharo
I think I remember this disussed before.
By talking with Pharo I assume here about another program talking to Pharo
? Possible not wrriten in Pharo ?
If thats the case then you can use whatever IPC works better for your
needs. If the communication will be remotely I recommend sockets, for fast
lo
Hi,
Is there any support from the VM/Application package to add custom URI schemes
to listen to from within Pharo? I would like to have a hyperlink like
‘pharo://send?data=fancypants’ in an
arbitrary document that, when clicked, switches to Pharo and calls a hook I can
register. Could someone
10 matches
Mail list logo