Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Scripting & Automation
  New Posts New Posts RSS Feed - Display PDF through AccuTerm
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedDisplay PDF through AccuTerm

 Post Reply Post Reply
Author
Message
GarethCX View Drop Down
Newbie
Newbie
Avatar

Joined: June 13 2016
Location: South Africa
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote GarethCX Quote  Post ReplyReply Direct Link To This Post Topic: Display PDF through AccuTerm
    Posted: June 13 2016 at 4:52am
Wonder if anyone can assist. I have a script which displays JPEGs based on the part number read from the screen. My client now wants to use PDFs in their image repository. How can I display PDFs through AccuTerm7 without using Acrobat Reader? Reason being; I need to keep the focus in AccuTerm so that our F button (which fires off the script) can close the displayed PDF.

I am currently using: 

If InitSession.InputMode=2 Then
InitSession.UnloadImage
InitSession.InputMode = 0
Exit Sub
End If

ID =Trim(InitSession.GetText(4,5,10)) & ".jpg"
If Dir("\\172.16.2.2\Images\" & ID) <> "" Then
InitSession.LoadImage("\\172.16.2.2\Images\" & ID,4,6,40,25,1,1)
InitSession.InputMode=2
End If

Any help would be most appreciated.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.