I'm running multiple processes in Intellij and they are all sending output to their own consoles are varying rates. One console sends new output at intervals of about 4 or 5 seconds while the other consoles receive output less frequently.
While looking at one of the "other"consoles the focus is repeatedly and automatically taken away and redirected to the console with recent output. Is there a way to stop this behavior in Intellij?
I'd like to be able to switch back and forth among the consoles when I want to so that I can remained focused on the log output of a particular process.
Thanks in advance for any ideas and suggestions. Was not able to find any helpful info in the Intellij docs. Maybe the feature I am suggesting does not exit.
Related
I use the tool "motion" (motion-project, https://motion-project.github.io/) to record Videos of two IP-cams, cam-1 and cam-2.
I tried to configure it that detected motion at cam-1 is triggering recording of cam-1 and cam-2 simultaneously, but until now I wasn't successful.
I found the parameter on_event_start and on_event_end, that allow the execution of a script/command at start and end of detected motion, but I found no way of telling the sw motion to start the recording of cam-2 also.
Maybe I can run a script at on_event_start that starts recording with a separate tool like ffmpg for both cams ?
Motion is indeed a very mighty tool, but too many features are hard to overview.
Thanks for any suggestions to solve it.
I wrote a parser in selenium, which clicks to different links and parses data. But from time to time I get an error
Your connection was interrupted. ERR_NETWORK_CHANGED
Perhaps this error is not related to selenium.
But, if I wait a little (about 1 second), then the connection appears again and I can continue to parse.
What way is there to solve this problem programmatically? Maybe in this case, somehow, I can reload the page until the connection appears again?
For me using a mac system and chrome for a daily basis, I encounter this problem now and then and finally found it might be helpful to solve this problem by just turning off the virtual machines or dock containers whichever can adjust your network configuration.
Maybe not fit for your case but it could be a hint. You can turn them off for a while if you have them running.
I am trying to make a VB 2012 project where a console application combines with a form application. My main goal is to be able to type commands on a console and change properties or displays on the forms.
The idea came when want to teach my students how to use what they know together with what they see to be able manipulate programs.
I wanted to make a program with a plot that allows student to be in a mind frame that gives them a purpose to the task.
I wanted to make the project where there are 3 form windows,
1: door access screen saying " Door 342" with an image of a door and a colour dot. Then when the right command is entered in the console then the colour dot would change from Red (closed/locked) to Green (Open/Unlocked)
2: Security alarm system, running basically the same but with a fail safe where if something is entered wrong then an error message pops up or a timer starts timing down before the alarm triggers.
3: Pressure pipe system, where they see tubes and then if the alarm triggers then the pressure if sealing doors so a colour strip follows the pipe to each door which would have to be monitored and shutdown if triggered.
I can write form applications and console applications but i can seem to be able to get a joining one.
The best i have come up with is by making a button on a form that writes into a console without feedback from the console.
Please help as it is something that I would like to make so that i can teach and have fun at the same time for the higher level students.
Many thanks for your help in the matter.
I am trying to test the Login feature of my Android app with multiple user-password entries that I have in an Excel. I have already been able to import that data from the Excel successfully and run the same test with each row (with "Run on all Rows" option), but now I am facing a problem that I am not being able to solve.
After a test runs with one row, one the test starts over with a new row, it will not restart the app, but start at the same point where the previous one finished. I think this is not the expected behaviour, in general, since most of the GUI testing tools restart the app when testing a feature with parametrization (data from Excel, mostly). Anyway, I "fixed" this by logging out in my app.
In this case there was an "easy solution" by logging out. But what if I was testing a different feature in which I cannot simply "log out". The problem is that in those different cases I would have to navigate back or do something that may fail and has nothing to do with the feature I am testing.
I am not sure if I am not using the right approach. Is there a good general solution for this issue?
I would suggest the following two ways to solve your problem if you cannot simply use logout as the last step.
Use App.Launch function you can add one line to the top of your script like Device("iPhone 7").App("myApp").Launch NotInstall, Restart . Here the device and the app can be TO in object repository or identified using descriptive programing like Device("id:=123456")
Check options in Test Settings Please check the latest UFT version maybe 12.53 or later if there are any options in Test Settings for users to choose to restart or reinstall app for iterations.
Thanks
Every morning when I get into work I launch about a dozen apps and whatnot (FF, TB, VSx2-3, Eclipse, SSH, SVN update x2-3). Needles to say this does a good job of warming up my HDD for the day. I rather suspect that it would run a lot faster if they were launched sequentially (not to mention that I wouldn't need to click in 17 different places).
Is there a preexisting product that can kick off a sequence of tasks/apps/etc. where each task is only started after the last app is done hammering the HDD?
It would nerd to be able to kick apps like VS and firefox and also be able to trigger explorer context menu items like SVN update in TortoiseSVN.
Try SlickRun, it's free, I've used it for years, I use it constantly and I'd be lost without it.
Think of it like a configurable Start->Run command, it'll do what you want (you can configure n second pauses between multiple commands), and if you install it you'll use it for a thousand different things before the first week is out.
P.S. I have no stake in SlickRun, I just like it :)
Unfortunately, I don't know of any software that can do this for you automatically.
However, can't you trigger the updates through a console SVN task? If so, can't this be done by creating a batch file? It's low tech, and you might want to add a few pauses between each task, but it should do what you want.
As you mention TortoiseSVN, I'll assume your O/S is windows.
You could launch an Autohotkey script at startup. I don't think it can easily detect HDD activity, but you can at least wait until each window appears with the WinWaitActive command.
If each application has an average time they take to complete, you could simply use Windows' Scheduled Tasks application. Obviously you'll need to be running Windows but Scheduled Tasks can be found in the Control Panel.
Execute "Add Schedules Task", select the program, the frequency and then the specific time.