Giter VIP home page Giter VIP logo

eject-e-book-reader's Introduction

Eject e-Book Reader

This small AppleScript will try to find a connected e-Book reader. It will display the found reader and ask whether or not to eject. MacOS specific files will be deleted from the reader befor it is ejected.

Please note: The script was created with PocketBook Readers in mind. It may or may not work with other readers.

Installation

Simply check out the repository and run

./install

to install eject e-Book Reader int /Applications.

To just build the application script run

./install build

To build and create a zip file run

./install zip

Security

Upon first run, the script does not have full disk access, which is required to delete files. Please grant full disk access if you want to use the script.

How it works

As this script was created mainly for PocketBook e-Book Readers, it checks for the existance of files found on a PocketBook Reader:

  1. autorun.inf
  2. system/

A PocketBook Reader has an autorun.inf file which will contain the name of the reader (label=…) and the path to an icon file for the reader (icon=…). When this information is found and the device it's found on is an ejectable device, the script application will ask whether or not to eject the device.

Icons used

The icon was created using GIMP and two icons from the Noun Project:

  • Eject by Icon Lauk from the Noun Project
  • ebook by ProSymbols from the Noun Project

eject-e-book-reader's People

Contributors

skeeve avatar

Watchers

 avatar  avatar  avatar

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.