Here's a summary of how this works in wIntegrate:

To run a specific PC program from a Basic program and pass it an argument, use:
  CALL WIN.PCRUN("iexplore", "www.ups.com")
  CALL WIN.PCRUN("excel", "myfile.xls")

To run a program from the file association in the registry, use:
  CALL WIN.PCRUN("www.ups.com", "")
  CALL WIN.PCRUN("myfile.xls", "")

To run a url displayed on the 80x24 character screen, for example www.ups.com, 
single-click on the url. This can be customised, see:
  * Setup Mouse, Key Definition for MouseLeft
  * Program Files\wIntegrate\WintSys\Script\Click.wis

wIntegrate can also display images in various formats including jpegs, either 
on the 80x24 screen (using WIN.IMAGE) or in a pop-up dialog (which would need 
some scripting).
 
David
Vistus Technologies

-----Original Message-----
From: Steve Kunzman [mailto:[EMAIL PROTECTED] 
Sent: 12 January 2005 20:19
To: u2-users@listserver.u2ug.org
Subject: [U2] Re: WinteGrate

I had saved this post for future reference. The future is here. I am trying to 
use WIN.PCRUN to launch internet explorer to retrieve UPS package tracking 
information.  Their web site has changed, so I tried to paste in the new URL, 
but it gives me a wIntegrate message, "Unable to run specified program". This 
URL works if I type it in the browser. If I try to just launch the browser and 
view a jpeg, a simple URL (WWW.UPS.COM), or a text file, it works. Any ideas?

http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&l
oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCo
nditions=yes&track.x=22&track.y=9

Thanks. Steve
Unidata/HP-UX

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Johnson
Sent: Saturday, February 21, 2004 12:23 PM
To: U2 Users Discussion List
Subject: Re: WinteGrate

A simpler way would be:

PCFILE="C:\FOLDER\PICTURE.JPEG"
CALL WIN.PCRUN("IEXPLORE", PCFILE)

It opens up a new window with the aforementioned picture.

You can also pass URL's that you fabricate to open up very useful windows.
Two that i use are:

www.maps.yahoo.com\&address=123&main&street&zip=12345

and
www.ups.com/tracking/1Z12345678901234567

These are fictious urls, but you can visit both UPS/Fedex and/or Mapquest/Yahoo 
or any other map-like site and cut & paste the real URL and modify the variable 
portion. Brings green screen users a little closer to the nice feel of the 
windows world.

All of my UPS clients use the UPS concept and 3 of mine with 'truck' use the 
map concept.

my 3 cents.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <u2-users@oliver.com>
Sent: Saturday, February 21, 2004 11:39 AM
Subject: Re: WinteGrate


> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time, 
> [EMAIL PROTECTED] writes:
>
> >      Question:  Using WinteGrate, running UniVerse 10, Unix - Is
there
> >                 a way to display a 'jpeg' file in UniVerse ?
> >                 We have trucking companies that send up 'proof of
> >                 deliveries' in jpeg format. Our user base would love
> >                 to be able to view them straight from UniVerse.
> >
> >     As always, very appreciative for ideas/assistance
> >
> > Barry Rogen
>
> Barry store all the jpegs in a shared windows directory on your
network
> In Universe have your program tell Wintegrate to "write the following
path
> into the clipboard" blah blah blah (the path of the image in the
shared
Windows
> directory)
> Then in your Universe program tell Wintegrate to execute its script 
> "showjpg.scr" or something like that (you create this script in a
shared
location as
> well)
> The Wintegrate script merely launches whatever it finds in the
clipboard
>
> Will Johnson
> Fast Forward Technologies
> --
> u2-users mailing list
> u2-users@oliver.com
> http://www.oliver.com/mailman/listinfo/u2-users


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to