Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 8:21 pm

All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: How to use Triggers
Thanked: 2 time(s)  Unread post Posted: Mon Apr 05, 2010 10:03 am 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4525
Been thanked: 1346 time(s)
Has thanked: 133 time(s)
Contribution Points: 33209
For this example we will create a small macro that will display a message box every time ctrl + d is pressed.

The whole process is available as a video tutorial on
YouTube: http://www.youtube.com/watch?v=Rl-acy9iAwU

First open the wizard by pressing the Create Macro button in the main window of Blue Eye.

Either copy the following into Code View, or just create the equivalent in Wizard View.
Code:
begin
     Window.Display message box("You pressed the trigger now!", "yes")
 end


Now specify a name and a category for your macro, ill name mine "My first trigger" and place it in a category called "My first macros".

And now for the trigger, we want this macro to be launched every time we press ctrl + d.
First make sure the "Use Triggers" -checkbox is checked, and then inside the "Start" group, select "Ctrl" in the first drop down list, and "d" in the second.

Or you can enter it as custom keys, like "{<ctrl>}d" without the quotes.

Now just save the macro, and close the wizard.


Back in the Blue Eye main window, you will see your macro listed in the "Monitored triggers", as
"Launch: "my first trigger" Keys: "{<Ctrl>}d"

Try pressing Ctrl + d at the same time on your keyboard, and BE will launch the macro for you, displaying the message box.

If you right click your macro and choose "Ignore trigger" the trigger will no longer be listed in "Monitored triggers", and the trigger will be temporarily disabled, until you right click and select "Listen for trigger".

Just like "Start triggers" it is possible to add "Stop triggers" for your macro, in case you want to abort your macro while it is running. This is done the exact same way as start triggers inside the wizard, specifying your keys inside the "Stop" group, just like we did for the "Start" group.

(The build in global trigger "Ctrl" + Alt" + "Esc" will always abort all running macros)

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Thu Nov 04, 2010 3:16 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Oct 07, 2010 4:15 am
Posts: 210
Location: USA
Been thanked: 3 time(s)
Has thanked: 4 time(s)
Contribution Points: 273
thank you :)

_________________
1, 2 and 3...
viewtopic.php?f=385&t=4670


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Thu Nov 04, 2010 9:38 pm 
New User
New User



Joined: Wed Sep 29, 2010 5:49 pm
Posts: 10
Been thanked: 1 time(s)
Has thanked: 0 time(s)
Contribution Points: 1
:)


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Fri Jul 29, 2011 12:55 pm 
Active User
Active User



Joined: Mon Jul 11, 2011 5:01 pm
Posts: 30
Been thanked: 2 time(s)
Has thanked: 0 time(s)
Contribution Points: 104
ctr A is the best stop trigger.
We don't need funny macros destroying our laptops.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Fri Jul 29, 2011 12:57 pm 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4525
Been thanked: 1346 time(s)
Has thanked: 133 time(s)
Contribution Points: 33209
Actually that is a good point.

I never thought about Ctrl + D is actually the shortcut to delete file/folder.
Probably not a good trigger to choose :)

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Thu Sep 01, 2011 9:27 pm 
New User
New User



Joined: Thu Sep 01, 2011 9:12 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 100
thx! u´r stuff helps me a lot, doing my fishing bot :)
if its ready, ill post it. this is my first thing, i hope that its not too hard to do


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Thu Sep 01, 2011 9:28 pm 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4525
Been thanked: 1346 time(s)
Has thanked: 133 time(s)
Contribution Points: 33209
Thank you for the feedback, I am glad you find it useful.

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Thu Sep 01, 2011 9:36 pm 
New User
New User



Joined: Thu Sep 01, 2011 9:12 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 100
the youtube vid is nice.
i do videotutorials on my own. They´re german, and about other programs, but wayne..

all i want to say is, it would be nice if u do your voice instead the textboxes.. that makes it much more easier to understand and makes a bit more fun to watch =)

but anyway, thx again ;)


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Thu Sep 01, 2011 9:38 pm 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4525
Been thanked: 1346 time(s)
Has thanked: 133 time(s)
Contribution Points: 33209
All the new videos I will be creating will include spoken instructions as well.

Unfortunately I don't have a lot of time on my hands right now to do videos, but as soon as I can I will create more videos.

Thank you for the feedback.

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use Triggers
Thanked: 0 time(s)  Unread post Posted: Sat Oct 01, 2011 7:15 am 
New User
New User
User avatar



Joined: Fri Aug 05, 2011 10:05 pm
Posts: 21
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 90
yay now i know how to use triggers thx

_________________
Is this a magic show?

Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2, 3  Next

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group