Re: Helper Application?

2009-10-03 Thread Bruce Robertson
 J. Landman Gay wrote:
 
 Richard Gaskin wrote:
 The RevTalk Dictionary entry for the environment function lists
 helper application as one of the possible values the function can return:
 
If the environment function returns helper application,
Revolution is running as a helper application, configured
by a web browser to display web-based content.
 
 That's not the same as the plugin, is it?  That entry is from the v3.0
 dictionary, long before the plugin was even in development.
 
 What does it mean for a Rev standalone to be configured by a web
 browser to display web-based content?
 
 Browsers let you specify what apps to open if they can't display web
 content themselves. So if you click a .rev link on a web page, and you
 have assigned the browser to use Rev to open .rev files, then the
 browser will pass the link off to Revolution and launch it. It's the
 same as assigning .doc files to Word. I didn't know the environment
 would change when that happens though.
 
 Me neither.
 
 I've used Rev standalones as helper apps before, but IIRC the app just
 gets an odoc event when the browser hands it a stack, and the engine
 doesm't bother to notice whether it was handed the stack from a browser
 or the Finder.
 
 I suspect this may be a holdover from the olden MC days when it was
 Unix-only.  Would be nice if there was a way a standalone could
 distinguish how it was launched, though.  There's a world of
 opportunities still unexploited with helper apps

Yup. Take this technique, and point the custom URL to your Rev app. I'm
doing it with FileMaker.

http://www.macosxautomation.com/applescript/linktrigger/index.html



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Helper Application?

2009-10-03 Thread Richard Gaskin

Bruce Robertson wrote:


Richard Gaskin wrote:

The RevTalk Dictionary entry for the environment function lists
helper application as one of the possible values the function can return:

   If the environment function returns helper application,
   Revolution is running as a helper application, configured
   by a web browser to display web-based content.

...

I've used Rev standalones as helper apps before, but IIRC the app just
gets an odoc event when the browser hands it a stack, and the engine
doesm't bother to notice whether it was handed the stack from a browser
or the Finder.

I suspect this may be a holdover from the olden MC days when it was
Unix-only.  Would be nice if there was a way a standalone could
distinguish how it was launched, though.  There's a world of
opportunities still unexploited with helper apps


Yup. Take this technique, and point the custom URL to your Rev app. I'm
doing it with FileMaker.

http://www.macosxautomation.com/applescript/linktrigger/index.html


Thanks vor the link.  That's a much better article than the one I got 
started with. :)  I've been using that plist method for OS X, but the 
the mention of helper application as a value returned by the 
environment in the Rev Dictionary mystified me, so I finally tested 
that function out and see what happens:


As I'd guessed, when a standalone is launched by a browser on both OS X 
and Windows, the environment returns standalone application and not 
helper application.


This distinction was probably based on some Unix-specific oddity from 
the mid-90s when the environment was added to the engine.  In the 
modern world, apparently a standalone has no way of telling whether it 
was launched by the Finder/Explorer, or a browser.


Filed as RQCC #8322:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8322

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Helper Application?

2009-09-25 Thread Richard Gaskin
The RevTalk Dictionary entry for the environment function lists 
helper application as one of the possible values the function can return:


   If the environment function returns helper application,
   Revolution is running as a helper application, configured
   by a web browser to display web-based content.

That's not the same as the plugin, is it?  That entry is from the v3.0 
dictionary, long before the plugin was even in development.


What does it mean for a Rev standalone to be configured by a web 
browser to display web-based content?


--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Helper Application?

2009-09-25 Thread J. Landman Gay

Richard Gaskin wrote:
The RevTalk Dictionary entry for the environment function lists 
helper application as one of the possible values the function can return:


   If the environment function returns helper application,
   Revolution is running as a helper application, configured
   by a web browser to display web-based content.

That's not the same as the plugin, is it?  That entry is from the v3.0 
dictionary, long before the plugin was even in development.


What does it mean for a Rev standalone to be configured by a web 
browser to display web-based content?


Browsers let you specify what apps to open if they can't display web 
content themselves. So if you click a .rev link on a web page, and you 
have assigned the browser to use Rev to open .rev files, then the 
browser will pass the link off to Revolution and launch it. It's the 
same as assigning .doc files to Word. I didn't know the environment 
would change when that happens though.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Helper Application?

2009-09-25 Thread Richard Gaskin

J. Landman Gay wrote:


Richard Gaskin wrote:
The RevTalk Dictionary entry for the environment function lists 
helper application as one of the possible values the function can return:


   If the environment function returns helper application,
   Revolution is running as a helper application, configured
   by a web browser to display web-based content.

That's not the same as the plugin, is it?  That entry is from the v3.0 
dictionary, long before the plugin was even in development.


What does it mean for a Rev standalone to be configured by a web 
browser to display web-based content?


Browsers let you specify what apps to open if they can't display web 
content themselves. So if you click a .rev link on a web page, and you 
have assigned the browser to use Rev to open .rev files, then the 
browser will pass the link off to Revolution and launch it. It's the 
same as assigning .doc files to Word. I didn't know the environment 
would change when that happens though.


Me neither.

I've used Rev standalones as helper apps before, but IIRC the app just 
gets an odoc event when the browser hands it a stack, and the engine 
doesm't bother to notice whether it was handed the stack from a browser 
or the Finder.


I suspect this may be a holdover from the olden MC days when it was 
Unix-only.  Would be nice if there was a way a standalone could 
distinguish how it was launched, though.  There's a world of 
opportunities still unexploited with helper apps


--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution