INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to check file is in library or not?  (Read 919 times)

NNTK

  • World Citizen
  • ***
  • Posts: 109
How to check file is in library or not?
« on: October 02, 2013, 09:42:37 am »

I want to know expression told me that file is in library or not by don't use [filename].

Thank.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to check file is in library or not?
« Reply #1 on: October 02, 2013, 11:02:39 am »

You can use IsMissing().

Also, in a file list, the field Image (small icon) will appear as a yellow box with a red X for missing items.  You can sort on that column.
Logged
The opinions I express represent my own folly.

NNTK

  • World Citizen
  • ***
  • Posts: 109
Re: How to check file is in library or not?
« Reply #2 on: October 02, 2013, 12:47:17 pm »

Thank for answer.

But I want check file is in JRiver's library or not. I don't check file is exist in system.

I use for zoneswitch. if file is in JRiver's library play zone1 else play zone2 something like that.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to check file is in library or not?
« Reply #3 on: October 02, 2013, 12:55:33 pm »

This will evaluate to TRUE for files not in the library:

   [=isequal(FileDBLocation(),Main,7)]=[0]
Logged
The opinions I express represent my own folly.

NNTK

  • World Citizen
  • ***
  • Posts: 109
Re: How to check file is in library or not?
« Reply #4 on: October 02, 2013, 02:34:29 pm »

Thank you. ;D
Logged
Pages: [1]   Go Up