can pdfxce execute command? or open files with URI/parameters?

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

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

Post Reply
krstoevan
User
Posts: 11
Joined: Thu Jan 12, 2023 3:00 pm

can pdfxce execute command? or open files with URI/parameters?

Post by krstoevan »

hi,

In a PDF, i labelled a paragraph with nameddest, other programs can link to this nameddest.

yet i wish to do 2way linkage, so wish this paragraph could link to outside.

the program i use is mindmanager.

it could be done if pdfxce can execute this command, inside the link that i added near that paragraph:

mindmanager.exe mj-map:///\\server\file.mmap#oid={C3ACC086-7882-4E9F-AC4E-4B22658E4548}

(mindmanager.exe was added to my windows path already)


in pdfxce i found i can add link, and in advanced,
there is add command, but seems those are for pdfxce's own command, and not command prompt.

other options like add webpage, open documents seems not appropriate.

i am on version v9.1 build 356

any suggestion? thanks
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 16166
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: can pdfxce execute command? or open files with URI/parameters?

Post by Tracker Supp-Stefan »

Hello krstoevan,

I believe that using the AddWeb Link and then pasting the whole of your command as the web link might work:
image.png
Alternatively - try the Open a File - then supply the path to the mapp manager file (e.g. just the /\\server\file.mmap part), and then in the additional parameters add the rest of your parameters ( #oid={C3ACC086-7882-4E9F-AC4E-4B22658E4548} ) and this should pass the path + the parameters to the command line. Then windows should try to open mind manager with the information supplied.

Kind regards,
Stefan
krstoevan
User
Posts: 11
Joined: Thu Jan 12, 2023 3:00 pm

Re: can pdfxce execute command? or open files with URI/parameters?

Post by krstoevan »

Tracker Supp-Stefan wrote: Mon Feb 06, 2023 9:14 am Hello krstoevan,

I believe that using the AddWeb Link and then pasting the whole of your command as the web link might work:
image.png

Alternatively - try the Open a File - then supply the path to the mapp manager file (e.g. just the /\\server\file.mmap part), and then in the additional parameters add the rest of your parameters ( #oid={C3ACC086-7882-4E9F-AC4E-4B22658E4548} ) and this should pass the path + the parameters to the command line. Then windows should try to open mind manager with the information supplied.

Kind regards,
Stefan

1. open a web link failed:
it start the mm.exe at the pdf's folder:
image.png
krstoevan
User
Posts: 11
Joined: Thu Jan 12, 2023 3:00 pm

Re: can pdfxce execute command? or open files with URI/parameters?

Post by krstoevan »

Tracker Supp-Stefan wrote: Mon Feb 06, 2023 9:14 am Hello krstoevan,

I believe that using the AddWeb Link and then pasting the whole of your command as the web link might work:
image.png

Alternatively - try the Open a File - then supply the path to the mapp manager file (e.g. just the /\\server\file.mmap part), and then in the additional parameters add the rest of your parameters ( #oid={C3ACC086-7882-4E9F-AC4E-4B22658E4548} ) and this should pass the path + the parameters to the command line. Then windows should try to open mind manager with the information supplied.

Kind regards,
Stefan
2. for 2nd method "open file",
pdfxce could only start up that mindmap,

even thru the parameters are different, they only show up the same mindmap,
and the highlight/selected topic is independent of the click link.

so... both failed. thanks
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6460
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: can pdfxce execute command? or open files with URI/parameters?

Post by Paul - Tracker Supp »

Hi krstoevan,

it sounds to me like the issue is with the mindMapper. Are you able to create functional links using any other software? We do create standard links for the various link objects and they are compliant with the ISO specifications, if the mind mapper is capable of handling the links and other software can create/set them then I expect we should be able to also. Knowing if it works at all with any links is key here.

Have you had success with any other application?
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
krstoevan
User
Posts: 11
Joined: Thu Jan 12, 2023 3:00 pm

Re: can pdfxce execute command? or open files with URI/parameters?

Post by krstoevan »

Paul - Tracker Supp wrote: Mon Feb 06, 2023 11:01 pm Hi krstoevan,

it sounds to me like the issue is with the mindMapper. Are you able to create functional links using any other software? We do create standard links for the various link objects and they are compliant with the ISO specifications, if the mind mapper is capable of handling the links and other software can create/set them then I expect we should be able to also. Knowing if it works at all with any links is key here.

Have you had success with any other application?
hi, mindmanager may be a less known product.

how about i use onenote as an example?

i wll repeat the above with onenote when i have time.

btw i tried heavily before, it seems there is something to deal with the URL //server/xxxx.map;
i remember if use C:\xxxx.map it works in 1 or 2. i'll confirm you later.

thanks
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 16166
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: can pdfxce execute command? or open files with URI/parameters?

Post by Tracker Supp-Stefan »

Hello krstoevan,

Thanks for the above. Looking forward to your update once you've had a chance to try e.g. OneNote and Mind manager with shorter links!

Kind regards,
Stefan
krstoevan
User
Posts: 11
Joined: Thu Jan 12, 2023 3:00 pm

Re: can pdfxce execute command? or open files with URI/parameters?

Post by krstoevan »

Tracker Supp-Stefan wrote: Tue Feb 07, 2023 1:10 pm Hello krstoevan,

Thanks for the above. Looking forward to your update once you've had a chance to try e.g. OneNote and Mind manager with shorter links!

Kind regards,
Stefan

hi, I found out it seem is pdfxce's imperfect implementation.

let's only deal with pdfxce and onenote.

onenote notes are .one and you can copy a single one say as c:\users\trackersoft\documents\abc.one
suppose this win10 is called \\server1\

when you click into the .one file, onenote will open it (let's don't worry it is outside your "notebook"),
and when you Rt click on the title, you could obtain "copy link to section".

my onenote gave me a link, using UNC path:
onenote:///\\server1\trackersoft\Documents\abc.one#section-id={529EBBF5-8286-4BB1-B3B5-A3332C67C28A}&end
let me call this "onenote UNC link"

however one can manually change it into using letter C:
onenote:///C:\trackersoft\Documents\abc.one#section-id={529EBBF5-8286-4BB1-B3B5-A3332C67C28A}&end
let me call this "onenote drive_letter link"

then,
inside pdfxce, open any existing PDF.
add a link,
choose advanced, then choose "add a web link".
if you put the "onenote driver_letter link" there,
YES! onenote open the link EXACTLY, depend on your link, it could be the title,
could be a PARAGRAPH.

but if you paste the "onenote UNC path" into pdfxce,
the "OK" button remains grey and you can never finish the job.


this sucks.

thank you.
krstoevan
User
Posts: 11
Joined: Thu Jan 12, 2023 3:00 pm

Re: can pdfxce execute command? or open files with URI/parameters?

Post by krstoevan »

Tracker Supp-Stefan wrote: Tue Feb 07, 2023 1:10 pm Hello krstoevan,

Thanks for the above. Looking forward to your update once you've had a chance to try e.g. OneNote and Mind manager with shorter links!

Kind regards,
Stefan
1.
btw, so for both mindmanager and onenote,
the default way to hyperlink back to them is thru different URI:
mj-map for mindmanager, as mj-map:/// xxx
onenote for onenote. as onenote:/// xxx

this is better than asking user to choose a file, and add back the parameters themselves (in addition,
this DIDN"T work!)

2.
so, the problem is, pdfxce allows using drive_letter in the link-add-web function, but disallow using UNC path.
this is the problem.

thanks
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 6967
Joined: Wed Jan 03, 2018 6:52 pm

Re: can pdfxce execute command? or open files with URI/parameters?

Post by TrackerSupp-Daniel »

Hello, krstoevan

Please see the attached file.
links samples.pdf
(4.75 KiB) Downloaded 3 times
These all seem to open the appropriate apps on our end. After some speaking with the Dev team, this is what we have to showcase it for you. Can you please try the three links here and let me know if you have any issues that prevent it from launching the correct apps?

Kind regards,
Daniel McIntyre - Support Technician
Tracker Software Products (Canada) LTD

Support: <Support@tracker-software.com>
Post Reply