Git Product home page Git Product logo

Comments (6)

apprenticeharper avatar apprenticeharper commented on July 21, 2024

I won't be working on this feature request myself, but I'll happily include it if someone else writes it.

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on July 21, 2024

The Mac DeDRM application is a plain AppleScript, editable with Script Editor. If anyone wants to contribute to it, please do so.

from dedrm_tools.

seasaltseasalt avatar seasaltseasalt commented on July 21, 2024

hello: Thankyou apprenticeharper. I do not know AppleScript but I know how to edit and follow an existing AppleScript script. However my friend tried to help me out. This works except when the file has no dedrm, you get the old popup that halts the processing. So you must click DRM icon and then click OK. This use-case is rare (file not having drm), so for me its a great solution as now notifications are going thru the OSX notification panel.

Edit the main.scpt (found by show package resources \DeDRM.app\contents\resources\scripts)
edit the script as below, -- commenting out existing and adding new lines to use the standard OSX notification panel
(sorry I do not know how to give precise where, as there is no line numbers in script editor)

" & ErrorList buttons {"Bother"} with title "DeDRM" default button 1
end if
if CompletedCount > 0 then
set CompletedText to ""
if CompletedCount is 1 then
set CompletedText to "Successfully de-drmed 1 ebook:"
else
set CompletedText to "Successfully de-drmed " & CompletedCount & " ebooks:"
end if
writetolog(CompletedText)
writetolog(CompletedList)

    -- set dialogresult to display dialog CompletedText & "

    -- " & CompletedList buttons {"Thanks"} with title "DeDRM"
    -- added a display notification removing any thanks button
    display notification CompletedList with title CompletedText

end if
return CompletedCount + WarningCount + ErrorCount

end ProcessItems

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on July 21, 2024

Since the current Kindle for Mac can't run on the older Mac OS X versions that don't have notifications, I've switched the messages on completion of drag&drop operations to be notifications rather than dialogs.This will be in 6.4.3

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on July 21, 2024

6.4.3 is ready to go, but I'd like to get confirmation that it's all working. Please give this version a go:
DeDRM_Macintosh_Application.zip

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on July 21, 2024

6.4.3 released

from dedrm_tools.

Related Issues (20)

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.