Comments (8)
Allow color arguments for the following commands:
case CmdCreateAnnotText:
case CmdCreateAnnotLink:
case CmdCreateAnnotFreeText:
case CmdCreateAnnotLine:
case CmdCreateAnnotSquare:
case CmdCreateAnnotCircle:
case CmdCreateAnnotPolygon:
case CmdCreateAnnotPolyLine:
case CmdCreateAnnotHighlight:
case CmdCreateAnnotUnderline:
case CmdCreateAnnotSquiggly:
case CmdCreateAnnotStrikeOut:
case CmdCreateAnnotRedact:
case CmdCreateAnnotStamp:
case CmdCreateAnnotCaret:
case CmdCreateAnnotInk:
case CmdCreateAnnotPopup:
case CmdCreateAnnotFileAttachment: {
from sumatrapdf.
Wow
can we have something similar for call external app 0-9 with %filename %page and %selection
to replace external viewers and more ?
from sumatrapdf.
from sumatrapdf.
Sure, show me how you would like it to work.
from sumatrapdf.
Unsure on detailed concept but currently to run the external view commands it is 3 keys
so for example we need ALT & F & A but if it was either numeric or main key board addressable 1-9 based it would be easier
some duplication might be reduced so
CTRL + C =copy to clipboard but CTRL+C reassigned to
poor example external cmd.exe programable-notepad %f %p %s
allows for simpler usage of clip
from sumatrapdf.
from sumatrapdf.
I could add CmdExternalCommand
e.g.
[
Cmd = CmdExternalCommand acrobat.exe ...args
Key =
]
[
Cmd = CmdExternalCommand https://translate.google.com/?op=translate&sl=auto&tl=${userlang}&text=${selection}
Key =
]
which could kind of subsume ExternalViewers
and SelectionHandlers
except they don't require a shortcut assignment so it's weird to put them in shortcuts.
A possible solution would be to add a way to define new commands, like:
Commands [
[
Name = CmdTranslateSelectionWithGoogle
Cmd = CmdExternalCommand https://translate.google.com/?op=translate&sl=auto&tl=${userlang}&text=${selection}
Type = SelectionHandler
Key =
]
]
Type would be SelectionHandler
or ExternalCommand
(or `ExternalViewer for compatibility with current terminology).
Key
is optional because it could also be assigned via
Shortcuts [
[
Cmd = CmdTranslateSelectionWithGoogle
Key = Ctrl + b
]
]
The I could upgrade settings file and convert SelectionHandlers
and ExternalViewers
to Commands
section and deprecate them.
from sumatrapdf.
from sumatrapdf.
Related Issues (20)
- Pre-Release Custom Icons with Highlighting a selection inconsistent HOT 2
- Pre-Release Custom Icons with Darker Themes
- Pre-Release Custom Icons dont resize with toolbar
- Crash when opening certain file - C0000005 ACCESS_VIOLATION HOT 1
- Tab list missing. HOT 1
- Pre-Release Custom Icons with Larger Text sizes HOT 1
- Improve search UI
- Preserve page info when switching tabs HOT 1
- Provide more information in page info notification HOT 1
- Change the Location of sumatrapdfcache Folder, that keeps PNG files HOT 2
- Copy Link Address concats when it hits hash mark in url HOT 2
- Bug in the latest versions the ExternalViewers is no longer displayed in the file menu
- feature request: writer feature feature for epub ... HOT 1
- BackgroundColor bug in custom themes HOT 7
- Search in long PDFs is terminated prematurely HOT 5
- Notification after a search is not automatically dismissed
- SumatraPDF (TotalCMD Plugin) HOT 2
- Rendering artifact in page number box in homescreen. HOT 2
- Ruby character support in EPUB viewer HOT 1
- 0жбьь
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sumatrapdf.