PDF Explorer > General

List of file names which are "locked for changes"

(1/2) > >>

Padanges:
Hi
PDFe function "locked for changes" disables any functions that can change entry info fields in DB within PDFe. Is it possible to get the names (FP) of files which have been "locked for changes"? Can we lock/unclock them using custom scripts? How can we get the list of locked files from whole DB without having to list them in the layout grid first?
In addition to this, can we verify with a script whether a file has been locked? Running a script which would lock/unlock using hotkey would require to check file status beforehand.


Thanks in advance

RTT:
I can add access to this property to the scripts API, to check if it is locked/unlocked and eventually to be able to set the state. Currently there is no way to access this info other than the visual indication shown in the grid.

Padanges:
That could be a solution. Please give us a script example, if you will.

RTT:
It will be a "Locked" boolean type named property of the IFileObject, so query it to know if it is locked, and set it to lock/unlock.

Padanges:

--- Quote ---It will be a "Locked" boolean type named property
--- End quote ---
That's great. Is it possible to run the check for this property for the whole DB without having to list entries to the Grid - is there a possibility to run a query on whole db?

Navigation

[0] Message Index

[#] Next page

Go to full version