The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Corsair Utility Engine (CUE) 1.x and 2.x

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-30-2019, 05:01 PM
Oniba Oniba is offline
Registered User
 
Join Date: Jan 2019
Posts: 5
POST ID # = 991969
Oniba Reputation: 10
Default How to stop / cancel / interrupt a running macro?

Hi,

I know this may sound really dumb because the solution could be really obvious and simple, but I swear I've been searching for days, googling all over the net and I can't seem to find a solution.


Well I did find one, it was to set the macro to "toggle" instead of "trigger when pressed" so that simply pressing the macro key would toggle it off.

That doesn't work, in fact, I'm wondering if that doesn't actually start it all over again and (maybe?) make it so that another version of the same macro is running on top at the same time?

Basically, it's really simple thing to keep sprinting on horse for Black Desert Online during auto run.


Quote:
1. Press key LeftShift
2. Pause execution for 890 ms
3. Right mouse button press
4. Pause execution for 2416ms
5 Release key LeftShift
6. Pause execution for 14869 ms
7. Right mouse button release
(there's 2 scenarios, a) I want to sprint on horse automatically and I'm in front of PC, b) I want to sprint on horse while I'm afk. Depending on scenario, I simply hit the macro now and then, or I change to toggle (or repeat 99999 times) and let it run while I'm afk

The problem I have, is if I want to stop it, hitting the macro key doesn't seem to work. What's more, I could really need to stop it ASAP and/or do something in game but I can't cause I can't click or shift is held down by macro or whatever.

Example, "oh ****, my horse is running straight to the river, if I don't stop it it will die".

-> How do I immediately stop that running macro? (and/or stop any running macros?)

Thanks in advance!
Reply With Quote


  #2  
Old 01-31-2019, 06:16 PM
Oniba Oniba is offline
Registered User
 
Join Date: Jan 2019
Posts: 5
POST ID # = 992092
Oniba Reputation: 10
Default

Did I post this in the wrong forum?
Reply With Quote


  #3  
Old 02-02-2019, 05:04 PM
Oniba Oniba is offline
Registered User
 
Join Date: Jan 2019
Posts: 5
POST ID # = 992363
Oniba Reputation: 10
Default

Since I got no replies, and I noticed the board is active, I'm thinking that maybe the answer to my question is "no, it's not possible to interrupt a Macro".

If that is the case, please say so (so I don't waste hours and hours of googling something that isn't possible)!

(I did read about making scripts but I'm too much of a noob to do that kind of thing ..)
Reply With Quote


  #4  
Old 02-12-2019, 10:29 AM
Oniba Oniba is offline
Registered User
 
Join Date: Jan 2019
Posts: 5
POST ID # = 993852
Oniba Reputation: 10
Default

Bump



123456
Reply With Quote


  #5  
Old 02-27-2019, 02:09 AM
Comet ☄'s Avatar
Comet ☄ Comet ☄ is offline
Witch
Comet ☄'s PC Specs
 
Join Date: Feb 2016
Location: San Francisco Bay Area, California
Posts: 879
POST ID # = 995741
Comet ☄ Reputation: 10
Send a message via Yahoo to Comet ☄
Default

If you abort the macro at step 4, the computer will not receive a key up event or a mouse button release event, and your horse will gallop ever onward. This macro, if aborted, produces the result you saw, so asking how to abort this macro is like asking people to throw your horse into a ravine, and make your computer act like the key and mouse is never released. People avoid giving bad advice.

Better would be to write two macros for assigning to the same thing. The first macro would do the key and mouse down and switch profile; the second macro would do the key and mouse up and switch profile back. This would perform the desirable result of allowing you to determine when you want the horse to stop running.

As programmed, your macro is an excellent example of executing a sequence of timed events. Cancelling your macro's execution once it has begun is probably not what you really want.

To see/practice macro cancellation, do not use macros with explicit key/button down and up events, unless you have already created a way to restore your system to a normal state.
Reply With Quote


  #6  
Old 02-27-2019, 01:30 PM
Oniba Oniba is offline
Registered User
 
Join Date: Jan 2019
Posts: 5
POST ID # = 995785
Oniba Reputation: 10
Default

Quote:
Originally Posted by Comet ☄ View Post
If you abort the macro at step 4, the computer will not receive a key up event or a mouse button release event, and your horse will gallop ever onward. This macro, if aborted, produces the result you saw, so asking how to abort this macro is like asking people to throw your horse into a ravine, and make your computer act like the key and mouse is never released. People avoid giving bad advice.

Better would be to write two macros for assigning to the same thing. The first macro would do the key and mouse down and switch profile; the second macro would do the key and mouse up and switch profile back. This would perform the desirable result of allowing you to determine when you want the horse to stop running.

As programmed, your macro is an excellent example of executing a sequence of timed events. Cancelling your macro's execution once it has begun is probably not what you really want.

To see/practice macro cancellation, do not use macros with explicit key/button down and up events, unless you have already created a way to restore your system to a normal state.


I didn't understand what you wrote...


Anyway, you can close this thread : I made a ticket and wrote to support who told me :

a) there was no possible way to interrupt or immediately "kill" a running macro (while using iCUE options / tools only).

b) there was a bug or problem with the "toggle" feature which meant that the macro would not end when pressing "toggle". (It would end after if certain key strokes were pressed).
Reply With Quote


Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.