Jump to content
Muxe Inc Forums
Sign in to follow this  
Avchent

Run *.pdf file like in FAR ?

Recommended Posts

Avchent    0

Hi there!

 

Can I run different files in NDN like in FAR ?

For example, I would like to run *.pdf - I select this pdf-file and press <Enter>.

NDN launches Acrobat Reader with selected pdf-file but NDN has black screen and

I can't use NDN while I use Acrobat.

 

If I do the same in FAR Manager I can use FAR and Acrobat in the same time.

Share this post


Link to post
Share on other sites
GPFault    0

Hi Avchent!

I see 3 ways to do it in NDN:

1. Replace *{ @"!.!" } in the end of ndn.ext (Options->Extension file) with code like in *.*(...) and keep { @"!.!" } for extensions you want to run syncronuously. Example:

pas,vbs{
"!:!\!.!"
}

*{
  @echo off
  IF "%OS%" == "Windows_NT" GOTO w32
  start "!:!\!.!"
  goto end

  :w32
  start "" "!:!\!.!"

  :end
}

Now Enter key execute acyncronously everything except pas, vbs, console exe`s, cmd, bat, com

(you may leave only the line corresponding to your OS - with extra "" in NT+ or without in 9x/ME)

 

2. You may use Shift+Enter instead of Enter - it launches asyncronously by default

 

3. You can press Ctrl+Break when yo see blank screen of NDN (NDN reappeares, Acrobat do NOT be closed).

Share this post


Link to post
Share on other sites
Avchent    0

Hi GPFault!

>I see 3 ways to do it in NDN:

>...

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×