Use 2 Mouse Cursors on the same Computer

24

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.

Share:
24

Related videos on Youtube

Danilo Steckelberg
Author by

Danilo Steckelberg

Updated on September 18, 2022

Comments

  • Danilo Steckelberg
    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:

    enter image description here

    • Dan D.
      Dan D. almost 11 years
      Why don't you run the tests in a VM? Which would have its own cursor.
    • matthiasgh
      matthiasgh almost 11 years
      my VM is linux which won't run Visual Studio 2012 and I wont be able to install windows on the VM.
    • meatspace
      meatspace over 9 years
      are the automated tests in a browser? if so, is running it headlessly an option?
  • matthiasgh
    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
    LawrenceC almost 11 years
    Yeah I'm playing with it a bit ... won't work like I thought it did. Sorry.
  • matthiasgh
    matthiasgh almost 11 years
    your 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
    matthiasgh almost 11 years
    can you use a virtual KVM? =D
  • dtmland
    dtmland almost 11 years
    @matthiasgh None that I know unfortunately. I did a little bit of searching and nothing seemed to come up.