![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | ||
Fabizio
Newbie
Joined: March 13 2014 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: Display ImagesPosted: March 13 2014 at 7:31am |
|
|
I finally figured how to display an image on my "green screen". I used:
DIR="\\d3ntserver\BackupDrive\Photo\" PRINT ESC:STX:'iL,':DIR:COMM.CD:".JPG":',':'43,4,28,10,0,I':CR: Where COMM.CD is input by the user. It works perfectly fine grabbing the picture from our local network but what I really want is to use an URL instead as the path to the the photo. I already tried to change the DIR variable to the URL but no picture is displayed. Is there anything different that I need to do? |
||
![]() |
||
palinder
Groupie
Joined: June 08 2012 Location: United States Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Posted: March 13 2014 at 7:39am |
|
|
You can execute any windows command by using...
CRT ESC:STX:'<':windowscommand:CHAR(13): Where windows command might be a URL, the full path to a pdf, excel file, word file, jpg, bmp, etc. etc. etc. The client's PC will open the file up with the application associated with the file extension. For a URL, it will open it with the client's default browser. You can also use '>' instead of '<' if you wish. I think '<' returns control back to accuterm. '>' doesn't return control back to accuterm until the windows command completes. I may have this backwards though Hope this helps. If you're still using green screens, and you want to "GUI-ize" those green screens, please take a look at Ashwood Computer's mvTools product. If interested, you can call me (Pat Linder) at 513-563-2800 |
||
![]() |
||
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: March 13 2014 at 11:25am |
|
|
Hi Fabizio -
You should be able to use a URL instead of a network file path, as the picture source. I don't recall the first release of AccuTerm that supported URLs but I know at least as far back as AccuTerm 2K2 5.3c. Here's a small sample you can try out:
Thanks, Pete |
||
![]() |
||
Fabizio
Newbie
Joined: March 13 2014 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: March 14 2014 at 3:57am |
|
|
That wasn't exactly what I was looking for but I did apply your suggestion to a program I have and it worked out great. Thanks.
|
||
![]() |
||
Fabizio
Newbie
Joined: March 13 2014 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: March 14 2014 at 4:00am |
|
Hey Pete, thank you for your answer. I use the url as my path and it is working fine. Thank you again. |
||
![]() |
||
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 |