Activate local program through webbrowser?

I am building a website that wil be used as a collaboration suite. On of the links should function as an activation of a progam that people have on their computer.
Is that at all possible?

Thanks!

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Some applications (on the Mac, anyway) can register a particular url
scheme to do something when you click on such a link in your browser.
The CSS-diagnostic application Xyle scope has registered xyle:// so
you can use that as the prefix for a URL to a page, and it will open
the file or page directly.

If your application has registered a URL scheme with the operating
system, then you can do what you want to do here, as long as the
visitor has that application installed on their computer. But it is
dependent on the application in question. Which application is it?

Walter

On Apr 4, 2009, at 7:07 PM, paulvw wrote:

I am building a website that wil be used as a collaboration suite.
On of the links should function as an activation of a progam that
people have on their computer.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,
It is actually UVC - see: http://www.universalvillage.net/uvconline/Home.shtm. A groupware type program we can access through a stand alone program as well as via the browser. I would like to intergrate this on a webpage: on that webpage we can either activate the standalone program on our pcs and macs and/or activate the browser version via this website I just mentioned.
Does it make sense or are there better solutions?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Do UVC files have a specific file-type? You could try creating a
custom mime-type for that file, and registering it with your browsers.
Then clicking on a filename.uvc (if that’s the extension) would launch
that application if it was present, just like any other file-type that
the browser cannot handle natively. Other than that, your application
will need to register a custom URL scheme with the operating system,
and you’ll have to create a link that triggers that scheme.

Walter

On Apr 5, 2009, at 12:18 AM, paulvw wrote:

Hi Walter,
It is actually UVC - see: http://www.universalvillage.net/uvconline/Home.shtm
. A groupware type program we can access through a stand alone
program as well as via the browser. I would like to intergrate this
on a webpage: on that webpage we can either activate the standalone
program on our pcs and macs and/or activate the browser version via
this website I just mentioned.
Does it make sense or are there better solutions?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Actually, the standalone is not a ‘normal’ program I noticed just now. It is a ‘thing’ that makes contact with the internet to sync. When I open the content package on the Mac I see lots of .jar files and this is the info.plist:

<?xml version="1.0" encoding="UTF-8"?> CFBundleAllowMixedLocalizations true CFBundleDevelopmentRegion English CFBundleExecutable JavaApplicationStub CFBundleIconFile uvmac.icns CFBundleInfoDictionaryVersion 6.0 CFBundleName UVC CFBundlePackageType APPL CFBundleSignature ???? CFBundleVersion 100.0 Java ClassPath . $JAVAROOT/UVCLauncher.jar /System/Library/Java/ JVMVersion 1.5+ MainClass com.uvc.UVCLauncher Properties WebDev.uvcexeversion 550 apple.laf.useScreenMenuBar true VMOptions -Xms20m -Xmx128m WorkingDirectory $APP_PACKAGE/Contents/Resources/Java

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This plist only indicates to me that the application is a Java
application, wrapped in a CFBundle so it can be double-clicked and run
without a lot of heartache by the end-user. The application is
probably the exact same thing on every other platform, with a locally-
suitable wrapper to handle the translation. The developer could direct
the installer (or the CFBundle itself) to set the proper application
handler keys in the System so that you would get the same effect if
you double-clicked a desktop icon or you clicked on a foobar:// URL.
And on Windows, they could set this on the Registry, too, and have the
same benefit there.

Walter

On Apr 5, 2009, at 9:20 AM, paulvw wrote:

Actually, the standalone is not a ‘normal’ program I noticed just
now. It is a ‘thing’ that makes contact with the internet to sync.
When I open the content package on the Mac I see lots of .jar files
and this is the info.plist:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That seems to be the case. Now, is it possible to activate this Java application through a webbrowser?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Again, if the original application developer does something to their
Mac OS X version that causes that application (wrapper, really) to
register its URL scheme with the OS, or if they already register a
file extension with the OS, then yes you can. Here’s how it would work.

First case: The developer has written the correct hooks into their
application wrapper so that it A) responds to foobar:// URLs by
opening the application and navigating to the named file in that URL,
or simply opens itself if there’s no document specified; and B) checks
the System preferences to see if that URL handler scheme is properly
registered and fixes that if necessary.

Second case: The developer has written the correct hooks into their
application wrapper so that if you (in Finder) double-click a
document.foobar file, their application opens and loads that file.

To handle the first case, you would simply create a link in the format
foobar://path/to/file or foobar://open (or whatever token they used in
the application code to indicate that a new document should open).

To handle the second case, you would simply create a file:/// link
(note the three slashes following the colon) and some relative link
scheme like this: (force the user to keep their files in /Users/
shortname/Documents/foobar/ folder) file:///~Documents/foobar/
somedocument.foobar

Walter

On Apr 10, 2009, at 9:57 AM, paulvw wrote:

That seems to be the case. Now, is it possible to activate this Java
application through a webbrowser?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Typo:

file:///~/Documents/foobar/somedocument.foobar

Forgot the slash between the tilde and Documents.

Walter

On Apr 10, 2009, at 10:20 AM, Walter Lee Davis wrote:

file:///~Documents/foobar/somedocument.foobar


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hmm… I guess I have found other items - but no .foobar extension. In the package of the progam I found:
Contents: Info.plist
MacOS: JavaApplicationStub
PkgInfo
Resources: Java (with many .jar files)
uvmac.icns

When activating the program itself, no browser opens, but their own GUI. I have been trying all kinds of stuff, but no success yet.

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I would take up this question with the developer. What is the file
extension of the files this application creates? Or does it not create
any?

Walter

On Apr 10, 2009, at 10:42 AM, paulvw wrote:

When activating the program itself, no browser opens, but their own
GUI. I have been trying all kinds of stuff, but no success yet.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Indeed, it does not ceate any documents. Export of the different documents (Contact, Notes, Email, Projects) is possible in text files etc. De actual data is stored on an external server as the standalone program syncs with their server (as well as their more limitted web version). I assume that makes it difficult, right?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No, but it does mean that the developer of the application will have
to register a URL scheme with the system, and once they do, you will
be able to use a foobar://launch URL (or something actually named for
the application). The developer will need to add code to make the
application respond, and also to register the URL with the System.

Walter

On Apr 10, 2009, at 6:15 PM, paulvw wrote:

I assume that makes it difficult, right?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK, thanks. I’ll check it with the developer!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options