Comments (3)
With the current code state this is not possible (as far as i can think of right now) without keeping the insert state in a third variable (basically you can use the wx IsModified() method to detect when the text is modified by the user but even then you need to also detect the backspace else a new line gets added when you press backspace) and i am not going to edit the EVT_TEXT handler, so just hit Enter.
This behavior will change on the new GUI where you will have a single line textctrl and when you paste the url the textctrl will autoclear itself to be ready for the next url.
UPDATE
Basically it was easier than i though i just had to overwrite the default Paste() method. I don't really like using the clipboard but now it should automatically add a newline after pasting.
I am closing this issue.
from youtube-dl-gui.
Thanks, works when pasting via context menu, but not when pasting selected text with middle mouse button, which is a linux feature
from youtube-dl-gui.
@ThebestwaytodesignJoinGitHub
I am closing this issue.
Now the middle mouse click automatically adds a newline when you paste urls.
Give it a try and feel free to re-open the issue if you have any problems.
from youtube-dl-gui.
Related Issues (20)
- Youtube-DLG 0.4 Downloads All Videos Successfully But Status Shows Error HOT 1
- - deleted - HOT 1
- - deleted - HOT 2
- youtube-dl-gui-0.4 update HOT 1
- Not pasting text in input field: MacOS 12.3.1 HOT 5
- Audio question related to best video quality ("default") HOT 1
- Download Progress HOT 3
- BBC iPlayer 1080P Download
- Python3 support version or binary package for new OSes HOT 3
- brightcove vtt.js vjs HOT 1
- slkow downloads make them faster.. HOT 1
- language
- download speed HOT 1
- Videos won't download anymore HOT 14
- Metadata problems HOT 1
- Playlist download bugged HOT 1
- Opus audiofiles without Creatortags
- Better gui? HOT 1
- Unable to extract uploader ID HOT 2
- HTTP Error 451 HOT 1
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 youtube-dl-gui.