Questions tagged [pause]

Executing pause operations on application, game or process

Pause refers to a temporary halt in time for some execution of a process.

As an example, the pause command used in DOS will stop playing audio or video, with the possibility to continue in the future (in the case of video: with a still image).

It may also refer to hardware used to initiate a pause such as the Pause/Break key (the secondary function of the PgUp key on some computer keyboards) and the Pause key or symbol on media players.

598 questions
2
votes
0 answers

PHP debugging: cannot pause a running script

I'm playing with PHPStorm and XDebug. All is working fine, except for an odd quirk: If I set a breakpoint before launching the script, or while it is already paused, everything works fine. But if I set the breakpoint while the script is running, it…
Vilx-
  • 104,512
  • 87
  • 279
  • 422
2
votes
0 answers

How to play several AVAudioPlayers sequentially with intervals

How can I add more than two players into one function? just like a dial tone, I need the players to be in a row and have a bit of pause between of them. here's what I've done so far: import UIKit import AVFoundation import CoreData class…
Shahin
  • 71
  • 2
  • 11
2
votes
1 answer

Disable function for a period of time after its launched to wait animation to complete

I have a function called with mouse-wheel event that launch an animation which can be misinterpreted if it is played many times before the animation is done. I tried with setTimeout or setInterval but both keep in memory the number of events (and…
Léo Durand
  • 215
  • 1
  • 4
  • 13
2
votes
0 answers

pause / play SlideShow (setInterval) in Javascript

to start things of I want to mention that I am very new at this and probably very bad and I have tried for weeks now, searched answers and so on and just couldn't implement something proper in my code. I want to simply pause / resume a slide…
2
votes
1 answer

Issues with resuming after iOS pause event in landscape (using Cordova Ionic app)

I am working on a Cordova iOS app using Ionic and the Salesforce Mobile SDK. On an iPad, if you return from a pause event (e.g. opening Control Center or going to the home screen and then returning to the app) while in landscape mode the app goes…
Rozgonyi
  • 1,027
  • 13
  • 27
2
votes
0 answers

APACHE Spark executor can be pause and resume?

I am new to spark and would like to know if spark have any Methods or other mechanism by which we can Pause the execution of executors(worker), and then can resume when needed. Kindly provide the answer. Thanks in advance.
2
votes
3 answers

How do I print an array, pause it and continue to print the array in c++?

How do I display 3 names at a time, pausing to let the user press a key before the list continues displaying. My code now only loops the first 3 values of the array #include #include #include using std::setw;…
hahas018
  • 23
  • 6
2
votes
2 answers

Waiting for a button press within a for loop?

I'm not sure how to get around this, but the purpose of my code is to iterate through a csv file and the user searches for a certain item. I have my items read through a string array of type list with CSVReader, so that's not a problem. When a user…
juiceb0xk
  • 949
  • 3
  • 19
  • 46
2
votes
5 answers

c# Disable event for some time

I have this set of functions to unregister the event listBox1_SelectedValueChanged for some amount of time. The function is called: Pause(). Is there any way to do this generally as a function, that can do the same for variety of event…
Josef Kvita
  • 156
  • 1
  • 13
2
votes
1 answer

How to properly set up a media player javafx

I have created a media player method is javafx which is called upon startup (below is the media player). My problem is that this pauses whenever I interact with a scroll pane by dragging or by zooming the player pauses and does not start again. Why…
2
votes
2 answers

How to make Stop and Pause/Resume/Play music buttons in Inno Setup

I want to create two buttons adjacent to each-other at the bottom left corner of all the pages like reloaded. The first button shows the Pause and the Resume command (if I click Pause, the button will switch to Resume automatically). The other…
2
votes
1 answer

CSS animation on pause and play with javascript

I need a button along with my animation. By pressing that button i want to pause animation and by pressing again I want to play the animation. I am a bit new with css3 key frames animations so I am confused with this. Here is my code of the…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75
2
votes
1 answer

Swift iOS how to pause a thread

I've got a VideoViewController class that calls my database class and does a loadPFObject and that returns a PFObject. var db = VideoDatabaseHandler() var video_titles = [String]() var video_urls = [String]() override func viewDidLoad() { …
Mo Code
  • 117
  • 1
  • 14
2
votes
0 answers

Why can I click a button if my mouse isn't in it?

I am making a js game with a pause button. The button works fine, however if my mouse enters the button, leaves, and then clicks, the effect is triggered. Here is my code: document.onmousemove=function(mouse){ mouseX=mouse.clientX-8; …
shurup
  • 751
  • 10
  • 33
2
votes
1 answer

Press any key with timeout progress displayed in shell

I want to provide user with a prompt to press any key or wait for a timeout to continue using shell. Usually this case is solved with following idiom: read -rs -t3 -n1 "Press any key or wait to continue ..." However this prompt seems a little bit…
reddot
  • 764
  • 7
  • 15