![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
acmedia
Senior Member
Joined: April 26 2005 Status: Offline Points: 119 |
Post Options
Thanks(0)
Quote Reply
Topic: Snippet to call Internet ExplorerPosted: April 25 2006 at 10:48am |
|
A little code snippet I keep adding to things:
ESC = CHAR(27) STX = CHAR(02) CR = CHAR(13) URL = "http://www.cnn.com" CMD = ESC : STX :'<' CMD := "C:\Program Files\Internet Explorer\IEXPLORE.EXE" CMD := " " : URL PRINT CMD Change URL as needed. |
|
![]() |
|
LiveBlues
Groupie
Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
Quote Reply
Posted: April 26 2006 at 2:50pm |
|
Thanks for the post. I think it's great when we post little useful things that we have found out about this great program.
I did something similar a while back and used it for being able to track UPS and FedEx shipments from green screen applications. I posted it here One thing that I wasn't aware of, that Pete pointed out in that thread is that you don't even need the explorer pathname. Just the URL. It uses whatever is the default browser on whatever computer runs it. That way it will run universally on any system and not be program dependent. Keep up the good work, and keep posting useful stuff here! |
|
![]() |
|
acmedia
Senior Member
Joined: April 26 2005 Status: Offline Points: 119 |
Post Options
Thanks(0)
Quote Reply
Posted: April 27 2006 at 5:22am |
So it does - which is a bit annoying as on this Windows box .html files are set to open with an editor rather than a browser. I'd better take another look at what the control codes are really doing. |
|
![]() |
|
ShoreGeek
Newbie
Joined: April 28 2006 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: April 28 2006 at 4:06am |
|
Any idea why just using the "http://xxx" works on some PCs but not others?? It looks like IE is the default browser on all PCs.
|
|
![]() |
|
LiveBlues
Groupie
Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
Quote Reply
Posted: April 28 2006 at 3:26pm |
|
I haven't run into that problem. So far it has worked on all of the pc's that I've tried it on.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |