INTERACT FORUM

Please login or register.

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

Author Topic: How to find out the unique key of any file?  (Read 2169 times)

masterjoe

  • World Citizen
  • ***
  • Posts: 214
How to find out the unique key of any file?
« on: April 25, 2016, 05:19:35 pm »

Hi there,

currently playing with Python to automate MC and so far my attempts are successful using COM.
In COM there are some methods which allow a file to be added by "key".

However... which field in the database is this "key"? I am using the German translation and have not found any field that corresponds to the unique (auto-assigned) key.

So which one is it or how do I find that out using the GUI? I would like to list the keys in a column for a view.

Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71626
  • Where did I put my teeth?
Re: How to find out the unique key of any file?
« Reply #1 on: April 25, 2016, 05:42:43 pm »

You might find some answers here:
http://yabb.jriver.com/interact/index.php?board=6.0

I'll move your thread there.

MCWS is the preferred interface now.  COM will still work, but it isn't being developed now.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8009
Re: How to find out the unique key of any file?
« Reply #2 on: April 25, 2016, 05:43:44 pm »

Filekey() is the relevant function.  You can make an expression column in the GUI and use that function there to return the filekey.  The rest of the linked document on the Expression Language is quite valuable as well.


Brian.
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 214
Re: How to find out the unique key of any file?
« Reply #3 on: April 27, 2016, 05:51:11 am »

Filekey() is the relevant function.  You can make an expression column in the GUI and use that function there to return the filekey.  The rest of the linked document on the Expression Language is quite valuable as well.


Brian.

Ah, thanks this was what I am looking for :)
Logged
Pages: [1]   Go Up