Sponsored Content
Top Forums UNIX for Advanced & Expert Users absolute path for Acrobat reader Post 302141944 by ramirezmc on Tuesday 23rd of October 2007 02:59:26 PM
Old 10-23-2007
absolute path for Acrobat reader

I would like to get the path of acrobat reader for any unix pc.

right now the path of acrobat reader is hardcoded

BEGIN

if :global.system = 'HP-UX' then
HOST('/opt/Acrobat4/bin/acroread /export/USERGUIDE.pdf');
else
v_path := 'HKEY_CLASSES_ROOT\acrobat\shell\open\command';
v_msg := Win_Api_Environment.Read_Registry(v_path,'',true);
APPID := DDE.APP_BEGIN(v_msg,DDE.App_Mode_NORMAl);

end if;
END;



Like in windows i can code to open acrobat reader whatever the windows with registry

" v_path := 'HKEY_CLASSES_ROOT\acrobat\shell\open\command'; "

is there a way to indicate the same thing for acrobat in unix?

thanks you!
 
Config::MVP::Reader::Finder(3pm)			User Contributed Perl Documentation			  Config::MVP::Reader::Finder(3pm)

NAME
Config::MVP::Reader::Finder - a reader that finds an appropriate file VERSION
version 2.200002 DESCRIPTION
The Finder reader multiplexes many other readers that implement the Config::MVP::Reader::Findable role. It uses Module::Pluggable to search for modules, limits them to objects implementing the Findable role, and then selects the those which report that they are able to read a configuration file found in the config root directory. If exactly one findable configuration reader finds a file, it is used to read the file and the configuration sequence is returned. Otherwise, an exception is raised. Config::MVP::Reader::Finder's "build_assembler" method will decline a new assembler, so if none was passed to "read_config", the Findable reader to which reading is delegated will be responsible for building the assembler, unless a Finder subclass overrides "build_assembler" to set a default across all possible delegates. METHODS
default_search_path This is the default search path used to find configuration readers. This method should return a list, and by default returns: qw( Config::MVP::Reader ) AUTHOR
Ricardo Signes <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-03-16 Config::MVP::Reader::Finder(3pm)
All times are GMT -4. The time now is 11:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy