Questions tagged [simulate]

For issues relating to simulating a system, action, function, or behavior.

Simulation is an attempt to model a real-life or hypothetical situation so that it can be studied to see how the system works. By changing variables in the simulation, predictions may be made about the behaviour of the system. It is a tool to virtually investigate the behaviour of the system under study.

451 questions
0
votes
2 answers

How to simulate Ctrl+C combination using C++ on Windows

Possible Duplicate: Can I send a ctrl-C (SIGINT) to an application on Windows? How to effectively kill a process in C++ (Win32)? C++ Sending a simple signal in Windows I have a java console application, this application starts to shutdown when I…
KuperMuper
  • 49
  • 2
  • 6
0
votes
1 answer

How to accurately simulate key presses?

How can I send key presses and mouse clicks to an application as if they were actually coming from the keyboard and mouse i.e. how can I fully simulate user input? I expect this will involve randomising the intervals that the keys are held down,…
Coder1095
  • 828
  • 10
  • 25
0
votes
1 answer

Can I simulate a GCM / APNS client device without using a full emulator?

I have an app that needs to push out notifications to thousands of devices up to a few times per day. I'd like to be able to run tests against my server code without actually sending my users anything. Is there a library in any language that will…
zslayton
  • 51,416
  • 9
  • 35
  • 50
0
votes
1 answer

Simulate mouse over in QML Desktop Application

I have three RadioButtons in my QML Desktop Application, and when I click one - I want all the others to be unchecked, but once I set them to unchecked, they really become unchecked, but I can't see that until I move the mouse over them. I tried a…
user1835297
  • 1,059
  • 2
  • 12
  • 24
0
votes
0 answers

Simulate button presses with guitar frequency c#

I've been playing Rocksmith lately with my guitar and I find it really interesting. The way I believe they 'know' which fret you're pressing is by comparing the frequency of the note to the note that you're supposed to be pressing. I have an idea…
Anteara
  • 729
  • 3
  • 14
  • 33
0
votes
2 answers

simulate a link() click with javascript

For some reason, I cannot use jquery. With plain javascript, how could I simulate the link-click action on a web page. Thanks. Below is the javascript I tried to get online, but it seems not work. function create_window (title, content){ var…
Zhao Peng
  • 55
  • 1
  • 5
0
votes
1 answer

Matlab, Econometrics toolbox - Simulate ARIMA with deterministic time-varying variance

DISCLAIMER: This question is only for those who have access to the econometrics toolbox in Matlab. The Situation: I would like to use Matlab to simulate N observations from an ARIMA(p, d, q) model using the econometrics toolbox. What's the…
Colin T Bowers
  • 18,106
  • 8
  • 61
  • 89
0
votes
2 answers

Simulate key press from an android service

I want to make an android service that would let me simulate keypress to fill fields on a web page when receiving an intent. Is this possible in any way or maybe through a different process (Not by simulation keypress?). For example an example of…
ulkar
  • 99
  • 2
  • 10
0
votes
1 answer

Shared Memory issue with X-Plane 10

I have a program that sends/receives datagrams from X-plane and to other pc which has simulation values. This code works good with x-plane 9 but when changed to x-plane 10 it does not communicate to x-plane now. I open a socket and send/receive…
scc
  • 385
  • 1
  • 3
  • 12
0
votes
2 answers

c# simulate click in context menu

So my question is: I got an Windows Forms application in C# and an webBrowser control in this application. When you for example right-click on a video in youtube, a context menu shows up. Now, is it possible to programmatically rightclick in the…
VGD
  • 436
  • 1
  • 5
  • 25
0
votes
2 answers

C# Thread simulate keyboard click and wait

I make a bot program and i want to send some keyboard keys between some interval of time. this is the code in my thread. I have recorded: "F" click then wait 4 sec then "S","A","Q" clicks. The problem is that the time (4 sec) is waited and then all…
TreantBG
  • 1,192
  • 6
  • 25
  • 44
0
votes
1 answer

Is it possible to simulate keyboard events in IOS and Android?

I would like to write some sort of macro app that presses keys. Would this be possible on IOS and/or Android?
sworded
  • 2,419
  • 4
  • 31
  • 48
0
votes
1 answer

Can a web socket be used to perform ajax

I'm starting to learn about web sockets as a faster alternative to some of my ajax calls. I've noted my IIS6 server doesnt support web sockets. Is there a way around this by getting a client side web socket to simulate an ajax call to the server?
0
votes
3 answers

Simulation Click with JavaScript

I have a scheduler control, and some divs which can be dragged into the Scheduler which are two separate controls, now I have a problem, I succeeded to make the drag and drop event, when I drop I created an alert to get the coordinates where the…
Christian Agius
  • 309
  • 1
  • 4
  • 13
-1
votes
1 answer

Simulation of the rotation angular speed

I would like to be able to simulate the movement of the body on a "carousel" with respect to physics. (centripetal, centrifugal force, angular speed). Below is some sample code.