/DirectLink

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Information

Functionality

The purpose of the addon is to convert the Dropbox, Google Drive or oneDrive (both personal and business) links to a direct link, furthermore, it generates a direct link to a WhatsApp or telegram chat with the chosen selected phone number or username.

Usage

  • Select or copy a shared Dropbox, Google Drive or oneDrive link
  • Press alt+NVDA+l to convert the link. The resulting URL will be in your clipboard.
  • For the Whatsapp phone number, copy or select the number you like to chat with or share and press the same shortcut (alt+NVDA+L).
  • For Telegram, select the phone number or the username and press the shortcut NVDA+Alt+t.
  • if you like to open the resulting link in your browser, press alt+NVDA+o.

Why the direct link?

A direct link will allow you to get the well-known save dialog box directly if you open it in the browser, without being hassled by the hosting company download page and locating the download link. Moreover, the direct link can be used to stream a file or view a file in certain programs such as media players (if coming with URL support). Likewise, if WhatsApp or Telegram is common in your country, rather than creating a new contact each time if you need to chat with someone, weather it is a customer or technical support, you can simply select the number or copy it and start chatting right away. Even more, you can share the WhatsApp link of your own number if people usually need to contact you in case you work as a freelancer.

Notes

  • A link of a folder cannot be converted; the link has to be directing to a file.
  • Make sure the link you are sharing is public (anyone with the link can access) in order for it to be successfully converted.
  • You can change the hotkeys from the NVDA menu> preferences> input gestures.
  • If you find a certain format of a phone number that is not detected, you can email me with an example.
  • Certain type of files and sizes in Google Drive might take you to a page that says, "Google Drive can't scan this file for viruses." in that case, you have to click on download anyway link.
  • The Telegram chat with a phone number works according to the privacy settings of the user.

what's new in version 2.2

  • Update repo files, to include latest addon template ones.
  • Add localization and documentation updates.

what's new in version 2.1

  • Added the ability to generate telegram links with a selected phone number or username.
  • Disabled the addon in the secure screen for security reasons.
  • Support for NVDA2022.1 and above.

Acknowledgements

A huge thanks goes to the following friends, without them I couldn't have made it happen:

  • Qais Alrefai for testing the add-on and providing me with various material to test with, and also for his observations and general idea for the addon.
  • Marina Amir for translating the add-on to French, language editing and testing.
  • Riad Assoum for translating the add-on to Arabic.
  • all testers.