GithubHelp home page GithubHelp logo

Use mouse cursor 'warp' ONLY about autoraise HOT 8 CLOSED

sbmpost avatar sbmpost commented on August 17, 2024
Use mouse cursor 'warp' ONLY

from autoraise.

Comments (8)

sbmpost avatar sbmpost commented on August 17, 2024

Not currently possible but there is an easy way to get this anyway. You'd simply have to put a comment symbol // where the call to "onTick" is made in the AutoRaise.mm file:

// cppClass->onTick

Then recompile as explained in the readme. I will consider making this configurable with "-delay -1" or something like that. Thanks for reporting and let me know if the above workaround works for you ;-)

from autoraise.

samwzlim avatar samwzlim commented on August 17, 2024

Not currently possible but there is an easy way to get this anyway. You'd simply have to put a comment symbol // where the call to "onTick" is made in the AutoRaise.mm file:

// cppClass->onTick

Then recompile as explained in the readme. I will consider making this configurable with "-delay -1" or something like that. Thanks for reporting and let me know if the above workaround works for you ;-)

@sbmpost Hi, so far it's working as long as I run the command in terminal, but when I try to follow the steps to get AutoRaise.app up and running, it opens but nothing happens. The exact step that I'm stuck in is here:

CleanShot 2021-07-10 at 23 45 56@2x

I've managed to create a hidden directory ".AutoRaise", but have no idea how to go about creating the config file. Can you guide me on this? I would really appreciate it :)

from autoraise.

sbmpost avatar sbmpost commented on August 17, 2024

Ah! It should be a hidden file called .Autoraise, not a directory. I see how the instructions are a bit unclear in this regard. So what you can do is:

  1. rmdir .AutoRaise
  2. nano .AutoRaise
  3. Add the configuration
  4. CTRL-X to save and exit nano

from autoraise.

samwzlim avatar samwzlim commented on August 17, 2024

Ah! It should be a hidden file called .Autoraise, not a directory. I see how the instructions are a bit unclear in this regard. So what you can do is:

  1. rmdir .AutoRaise
  2. nano .AutoRaise
  3. Add the configuration
  4. CTRL-X to save and exit nano

Thanks! It works well :) However, I use multiple users on my mac and can only access Autoraise.app on one user (the one I ran the commands on). On other users, I'm unable to open the app, and it shows this:

CleanShot 2021-07-13 at 12 34 01@2x

Do you know what I should do to circumvent this? Once again, thanks for your help!

from autoraise.

sbmpost avatar sbmpost commented on August 17, 2024

This can be several things as noted here:

https://stackoverflow.com/questions/64842819/cant-run-app-because-of-permission-in-big-sur/64895860#64895860

I guess you can try these commands from the terminal:

sudo xattr -dr com.apple.quarantine /Applications/AutoRaise.app
sudo chmod 755 /Applications/AutoRaise.app

If you don't have the administrator password, you can also just try:

chmod 755 /Applications/AutoRaise.app

Note also the following:

  1. The create-app-bundle.sh script is called by make and contains the line: chmod 700 AutoRaise.

You might want to edit that script and use 755 instead. Of course you would have to run "make clean && make install" again afterwards.

  1. If it works, the next step would be to create a .AutoRaise file for each user in their home folders.

from autoraise.

sbmpost avatar sbmpost commented on August 17, 2024

@samwzlim Hi there!

I added the "warp only" functionality to the master branch and also made sure the produced app can be run by multiple users (applying the 755 change as described above).

So all you have to do, is check out the master branch, recompile and "make install" (see the README). To specify you want "warp only", simply set delay=0 in your configuration file.

from autoraise.

samwzlim avatar samwzlim commented on August 17, 2024

@sbmpost Thank you so much! Everything is now working as expected!

from autoraise.

sbmpost avatar sbmpost commented on August 17, 2024

@samwzlim cool that this is working as expected and thanks for reporting! :)

from autoraise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.