Coder Social home page Coder Social logo

pv-unlocker's Introduction

PV Unlocker

This is a program used to check the version of an MER PanelView runtime or FactoryTalk View PanelView archive file (APA). If the MER is locked or marked as Never allow conversion back into a Project file. This can strip that, and allow the project to be recovered.

My initial crude version of this I had set up to right click on an MER or APA and get the version and unlock it. I manually edited the registry on my machine for this to work. Right now as I haven't created an installer, unless you manually set this up in the registry you won't be able to right click an MER or APA and run this.

To Use

Run the executable, click 'Select Files', and pick the files you want to open. A list of files will appear with the file name, version number, and an icon representing the locked/unlocked status. If you want to unlock a file, click the red locked icon next to it to unlock it (this will directly modify the file, so if you are worried about it breaking, work on a copy).

You can also run the file from the command line and pass it a list of files such as: pv-unlocker.exe *.mer and it will show you the status of those files.

Future Goals

I had thought about instead of a small app, making this a windows shell extension, overlay a lock icon if the file is locked, allow you to right click and unlock it, Maybe see the Runtime version in the File Details pane. I have never made a windows shell extension before, and haven't had the time to dig into it.

pv-unlocker's People

Contributors

dependabot[bot] avatar vadoola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pv-unlocker's Issues

Some way of showing in the GUI when an error occurs

Right now if an error happens it just logs it and moves on. Not much else happens. For example if it fails to unlock a file, the file will continue to show as locked, but you would have to go in and look at the log file to see that it failed.

I need someway to present this to the user so it's more obvious, like a toast message or something?

The Release CI Linux Musl build only works on X11 not Wayland

I'll need to dig into how this works a bit, but the MUSL build generated by the Release CI only seems to work on X11, and by that I mean I've actually only tried running it on Wayland, but it gives an error. I'll need to grab the error and paste it here.

Better way to handle file errors

Right now for example a file is skipped if either the version or the protected status fails. However what if one fails and the other succeeds, it would be good to show this info.

So Maybe for the version if that fails show ?.? Or "Unknown", and if the protected status fails show a question mark icon?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.