Use 2 Mouse Cursors on the same Computer
The easiest way to do what you are asking, despite your saying in comments that you can't install Windows in a VM, probably is another Windows installation in a VM. I had a quick look and even a non-OEM Windows 7 Ultimate can be had for around $300. Alternatively, if you have MSDN it should be included in the price you are already paying.
When you have installed Windows and whatever is required to run the tests (note that you don't necessarily need a full-blown Visual Studio installation), you can simply start the VM, start the test process, and then detach from the VM and let it do its thing while you keep working.
As for having two mouse cursors in the same session, I'm not even sure Windows supports that and it certainly would risk wreaking havoc with basic Win32 API functions like GetCursorPos(). The related Win32 API functions all seem to talk about "the cursor" and deal with a single position, which while not proof seems to me to be a strong indication that Windows doesn't do multiple mouse cursors.
Related videos on Youtube
Danilo Steckelberg
Updated on September 18, 2022Comments
-
Danilo Steckelberg over 1 year
I am trying to make a log plot in R. By default, R plots the axis in scientific notation, but I need to plot them with decimal notation with one significant digit only.
The following code generates the plot:
plot(x = t, y = p1, type = "l", log = "y", xlim = xplotLim, ylim = yplotLim, xlab = "Time", ylab = "Growth", lwd = 3) )
The ylab is automatically created in scientific notation. I then tried to change the axis number format by removing the default axis and creating a new one:
plot(x = t, y = p1, type = "l", log = "y", xlim = xplotLim, ylim = yplotLim, xlab = "Time", ylab = "Growth", main = "Growth vs time", lwd = 3, yaxt = "n", axis(2, at = axTicks(2), labels = sprintf("%.0f", axTicks(2))) )
The axis is now exactlay as I want. However, it generates automatically a title (main) with the labels I generated with sprintf function.
As a third step, I tried to change the title by adding a main parameter:
plot(x = t, y = p1, type = "l", log = "y", xlim = xplotLim, ylim = yplotLim, xlab = "Time", ylab = "Growth", main = "Growth vs time", lwd = 3, yaxt = "n", axis(2, at = axTicks(2), labels = sprintf("%.0f", axTicks(2))), main = "Growth vs Time" )
Now the labels are printed below the xlab, and I have no idea how to remove them.
Follow a picture with all 3 plots:
-
Dan D. almost 11 yearsWhy don't you run the tests in a VM? Which would have its own cursor.
-
matthiasgh almost 11 yearsmy VM is linux which won't run Visual Studio 2012 and I wont be able to install windows on the VM.
-
meatspace over 9 yearsare the automated tests in a browser? if so, is running it headlessly an option?
-
-
matthiasgh almost 11 years"Mouse Mischief integrates into Microsoft PowerPoint 2010 and Microsoft Office PowerPoint 2007" How is that any help and I dont have or want to use two mice.
-
LawrenceC almost 11 yearsYeah I'm playing with it a bit ... won't work like I thought it did. Sorry.
-
matthiasgh almost 11 yearsyour probably right, it's just for convenience i'm not going to bother with all that, I was hoping someone would know of some program that would do exactly what I want.
-
matthiasgh almost 11 yearscan you use a virtual KVM? =D
-
dtmland almost 11 years@matthiasgh None that I know unfortunately. I did a little bit of searching and nothing seemed to come up.