Skip to content

Commit

Permalink
Add installTasks.py, to remove old fakeClipboardAnouncement addon.
Browse files Browse the repository at this point in the history
And prepare for version 2.2.1
  • Loading branch information
ibrahim-s committed Feb 1, 2024
1 parent 6e74966 commit 7c964a1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
11 changes: 11 additions & 0 deletions addon/installTasks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# -*- coding: UTF-8 -*-
# installTasks for enhancedFakeClipboard add-on
# During installing enhancedFakeClipboard, we aim to remove fakeClipboardAnouncement if it exist.

import addonHandler

def onInstall():
for addon in addonHandler.getAvailableAddons():
if addon.name == 'fakeClipboardAnouncement':
addon.requestRemove()
return
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _(arg):
"addon_description": _("""NVDA speaks when putting text on to and from clip bord,
mainly for copy, cut, paste and select all actions."""),
# version
"addon_version": "2.2",
"addon_version": "2.2.1",
# Author(s)
"addon_author": "Jennifer Wenson <jwens82@gmail.com>, Ibrahim Hamadeh<ibra.hamadeh@hotmail.com>",
# URL for the add-on documentation support
Expand Down
12 changes: 9 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* Author: Jennifer Wenson, modified by Ibrahim Hamadeh
* Compatibility: NVDA version 2019.3 and later
* Download [version 2.2][1]
* Download [version 2.2.1][1]

The main purpose of this addon, is to announce the actions of copy, cut, paste, and select all on keyboard.

Expand All @@ -16,10 +16,16 @@ It is a modified version of FakeClipboardAnnouncement addon.

Some features I may mention for instance: If in edit controls you want to copy or cut text, and it is not selected, the addon will warn you that text is not selected.

and like wise, in a folder if you want to copy or cut a file and it is not selected, the addon will warn you also. and may be other features.
and like wise, in a folder if you want to copy or cut a file and it is not selected, the addon will warn you also.

And may be there are other modified features, you'd better find yourself.

### Changes for 2.2.1 ###

* Remove fakeClipboardAnouncement addon if exists, during installing the modified one enhancedFakeClipboard addon.

### Changes for 2.2 ###

* Initial version on github.

[1]: https://github.com/ibrahim-s/enhancedFakeClipboard/releases/download/2.2/enhancedFakeClipboard-2.2.nvda-addon
[1]: https://github.com/ibrahim-s/enhancedFakeClipboard/releases/download/2.2.1/enhancedFakeClipboard-2.2.1.nvda-addon

0 comments on commit 7c964a1

Please sign in to comment.