Link to specific page from extern application

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Tracker Support, TrackerSupp-Daniel, Sean - Tracker, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
SiliasPD
User
Posts: 1
Joined: Wed May 11, 2022 1:23 pm

Link to specific page from extern application

Post by SiliasPD »

Hi there,

I've been looking for a posibility zu insert hyperlinks in an external applications (for example in text editors like word or obsidian) to not just only open a pdf-document from that application, but directly jump to a specific page.

Is this possible in pdf-x Change Editor?

Thanks in advance!
Regards,
SiliasPD
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5857
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Link to specific page from extern application

Post by Paul - Tracker Supp »

The PDF-XChange Editor can not only accept command line arguments to open a PDF at a specific page, you can even specify a zoom level and the viewable area.


Take a look at the options for the /open parameter from this page: https://help.tracker-software.com/pdfxe ... ns_ed.html


/open - please note that /A can also be used for this command.

This command opens documents from a specified file and determines the custom view location, search words and highlight rectangles as necessary.

Syntax
/A <param1>=<value1>[;<param2>=<value2>[;...]][=OpenParameters] <filename>

Parameters
•nameddest=<destName> – specifies a named destination in the PDF document.
•page=<pageNum> – uses an integer value to specify a numbered page in the document. The document’s first page has a pageNum value of 1.
•comment=<commentID> – specifies a comment on a given page in the PDF document. Use the page parameter before this command. For example:
•page=1;comment=452fde0e-fd22-457c-84aa-2cf5bed5a349
•zoom=<scale>[,<left>,<top>] – sets the zoom and scroll factors using float or integer values. For example, a scale value of 100 indicates a zoom value of 100%. Scroll values left and top are in a coordinate system where 0,0 represents the top left corner of the visible page regardless of document rotation.
•view=Fit|FitH[,<top>]|FitV[,<left>]|FitB|FitBH[,<top>]|FitBV[,<left>] – sets the view of the displayed page using the keyword values defined in the PDF language specification. For more information, see the PDF Reference. Scroll values left and top are floats or integers in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. Use the page parameter before this command.
•viewrect=<left>,<top>,<width>,<height> – sets the view rectangle using float or integer values in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. Use the page parameter before this command.
•pagemode=<bookmarks|thumbs|none> – displays bookmarks or thumbnails. The default setting is none.
•scrollbar=1|0 – turns scrollbars on or off.
•search=<wordList> – opens the Search pane and performs a search for the words in the specified word list. All matching words are highlighted in the document. The words list must be enclosed in quotation marks and separated by spaces. It is only possible to search for single words. For example: search="sample search words" will locate and highlight the words sample, search and words. When searching for multiple terms they must be adjacent in the content, i.e. separated by only white space/simple punctuation, or they will not be identified.
•highlight=<left>,<right>,<top>,<bottom> – highlights a specified rectangle on the displayed page. Use the page parameter before it. The rectangle values are integers in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation.
•fullscreen[=yes|no] – when enabled, the document will open in full screen mode.
•password=<password> – specifies the password string to open silently a password-protected document.
•usept[=yes|no] – when specified, all values for positioning are absolute and measured in points (1/72 inch).


Examples

PDFXEdit.exe /A zoom=1000 "c:\example.pdf"

PDFXEdit.exe /A "page=255;zoom=200;pagemode=thumbs;search=lazy dog" "c:\example.pdf"


I hope that helps.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Post Reply