Comments (7)
Thanks @subz390 for the idea of using AutoHotkey. I have modified it so the script changes png to jpg any time PasteIntoFile is executed. Maybe it is not the nicest solution, but it works. If you want to use it for other extension, just replace png/jpg accordingly.
#SingleInstance, Force
While 1{
WinWaitActive ahk_exe PasteIntoFile.exe
ControlGetText Val,Edit1,ahk_exe PasteIntoFile.exe
If (Val="png")
ControlSend Edit1,{Down},ahk_exe PasteIntoFile.exe
}
update1: changed the code, the previous did not work well
update2: I have just found eltos' fork that has a config to set the default image format. No need for the the ahk script.
from pasteintofile.
@liwenjing93 Thank you very much for your feedback!
I will make sure to have this issue fixed in the next release very soon.
from pasteintofile.
I will make sure to have this issue fixed in the next release very soon.
Thank you!!!
from pasteintofile.
Choosing a default would be great!
Additionally, would also be great if an underscore is used in the automatically generated file name, between the date and the time, so as to avoid hyperlink issues: 13-04-2020_21-38-23
from pasteintofile.
BUMP +1 on being able to set the default file extension.
For the majority of saving applications I choose jpg
as it takes up less space.
from pasteintofile.
Yes, it would be so good to change or have option for default image format. I think most people use jpg for any kind of image, except for some specific purpose.
from pasteintofile.
For anyone who's interested here's an AutoHotkey script that'll send keyboard inputs to select the jpg
save as extension and press enter
.
- Install AutoHotkey
- Copy the script into a file with an
.ahk
extension and double click the file to run it. - To start up with Windows put the file in the Windows
startup
folder.
For reference I've added the modifier keys in comments so you can set your key combination preference.
#SingleInstance, Force
SendMode Input ; Forces Send and SendRaw to use SendInput buffering for speed.
SetWorkingDir, %A_ScriptDir%
#MaxThreadsPerHotkey, 1 ; no re-entrant hotkey handling
; ! Alt
; + Shift
; ^ Ctrl
; ^+ Ctrl Shift
; ====================================================
; PasteIntoFile
; sets the save as extension to jpg
; Ctrl Shift j
#IfWinActive ahk_exe PasteIntoFile.exe
^+j::
Send, {Tab}{Down}{Tab}{Tab}{Tab}{Tab}{Enter}
return
from pasteintofile.
Related Issues (20)
- Grayed out Save button should offer better feedback HOT 1
- Can I use a hotkey like ctrl v (or a custom one) and bypass the menu?
- Distorted UI in High DPI display
- It'd be nice to Paste to Shortcut HOT 2
- Automatic Installer
- Access to clipboard history
- Exception when pasting at the volume root HOT 1
- Registry value
- Uninstall HOT 1
- Feature Request: Use ctrl key to perform default action HOT 4
- Hotkey to save clipboard to file? HOT 1
- [REQUEST]Paste Into File immediately without the popup
- [BUG] PasteIntoFile /filename Imported_yyyy-MM-dd_HH-mm-ss -> wrong filename
- ✈️⚠️ There's a more up-to-date fork
- Please help
- Virus Total alerts HOT 2
- Feature Proposal: Save on hotkey press HOT 1
- transparency not working for png
- ISSUE: Program not working "Executeable not found" title of the window "explorer.EXE" HOT 2
- paste into file crash on windows startup
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 pasteintofile.