Questions tagged [auto-close]
64 questions
1
vote
1 answer
Close the Chrome Extension automatically
I am trying to close the extension automatically after saving my data.
Here is the code which is used to save the data:
$(function(){
function displayMessage(string){
alert(string);
}
var submit = $('#submit');
…

Yashwanth Babu
- 919
- 9
- 30
1
vote
0 answers
Sublime text 3 wrong auto complete on inside
I want to write this code:
When I typing in line return
Hello World…

pupadupa
- 1,530
- 2
- 17
- 29
1
vote
1 answer
Python Youtube-dl - keep terminal / tkinter window open after executing
I'm using tkinter and youtube-dl under python
def dl(lk,fl): # link / file location
opts=['-o', fl+'/%(title)s-%(id)s.%(ext)s', '--playlist-end', '20', '--extract-audio', '--audio- format', 'mp3', '--audio-quality', '9', '--write-thumbnail',…

Giardiv
- 63
- 12
1
vote
3 answers
Open multiple instances of MessageBox and automatically close after several seconds
I am coding Windows Forms in C# under Visual Studio 2012 and I would like to open multiple instances of MessageBox and automatically close them after several seconds.
I have found (and upvoted) this answer here: SO: Close a MessageBox after several…

Sebastian
- 471
- 1
- 10
- 26
1
vote
2 answers
FancyBox and Youtube API events
I'm trying to fire an event once the youtube video that I'm playing into my fancybox is ended.
So I can close automatically the fancybox once the video is over.
I have the last fancybox version and I'm on the youtube API, sticking to exemples but it…

Brizoo
- 19
- 1
- 3
1
vote
1 answer
Vim autoclose plugin and different keymap layouts
I find autoclose.vim very practical to have all brackets closed but encountered next problem.
The thing is i need to use second keymap in my work like following:
set keymap=russian-jcukenwin
This keymap with all others remaps these keys: "["->"х",…

lompy
- 341
- 1
- 3
- 12
0
votes
0 answers
Is there a way to autoclose youtube player once the video ends?
I am using npm-react-youtube, I want to not display this div once the video ends.
The code is as follows :
const opts = {
height: '500',
width: '100%',
playerVars: {
// https://developers.google.com/youtube/player_parameters
autoplay: 1,
rel:…

JayK
- 76
- 6
0
votes
1 answer
Bootstrap drop down auto close not working on react
I am using the drop button of bootstrap and it works ok when clicking on it, but when I want to disable it by click outside using the
autoClose='outside'
it does not work. When I click my hamburger menu, the menu drops as expected but when I want…

Vuyi
- 96
- 3
- 14
0
votes
0 answers
Disallow Bootstrap Modal to Open on Click Outside Using HTML doesn't work with javascript window onload
I have found how to disable the auto close of the modal window from bootstrap 3. But i also want to show the window on a page load. When i add the script for this it comes up but then the option for disabling the function to close the modal window…

Dries Benders
- 1
- 1
0
votes
0 answers
Autoclose brackets/parentheses inside a string in PyCharm
Recently I have been using PyCharm Community Edition solely for python development and I am really pleased with the software!
But while the auto closing of parentheses and tags works in regular code, it doesn't work when I try to do it inside a…
0
votes
1 answer
Angular 11: Ng-popover close automatically when selecting date from Ng-popover
In my angular 11 project.
When I am trying to use multiple ng-popover in one screen, when open one pop-over and then open another popover on the same screen, first ng-popover closed by its default ng-popver functionality.
But when I am implementing…
0
votes
1 answer
Bootstrap 5: Dropdown auto close won't work
I have an issue about auto closing with bootstrap 5 (never tried with previous versions). I always have the default behaviour. I tried with Chromium and Safari (...).
To investigate, I started back, copying the code in…

Nicolas
- 3
- 1
- 2
0
votes
1 answer
Why does my android app instantly close when opening it?
I'm using Xamarin in VS 2022 to create an android app. I'm main target is Android 10, but I'm targeting Android 8 for minimal and Android 11 for maximal. When i launch this app on an android emulator using Android 11, my application quits instantly…

Florian Martinez
- 1
- 1
0
votes
1 answer
Angular popover autoclose property - open only 1 popover at a time
I have a list of contacts and for each contact i can add a note.
My requirement is- If i open notes popover for 1 contact and then click on 'Add notes' of second contact then only 2nd popover should be open and not both.
I tried to set…

Amrit Phalake
- 29
- 3
0
votes
1 answer
How do I use powershell to close a program after another program closes?
Is there a way to run Stop-Process after a specific program closes itself automatically?
I am trying to close my VPN client after my torrent client closes itself.
Any help is appreciated.

Bryan
- 3
- 2