Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Fri Sep 20, 2024 3:21 pm

All times are UTC




Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Making Your First Macro
Thanked: 35 time(s)  Unread post Posted: Wed Aug 15, 2012 5:41 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Wed Oct 12, 2011 12:46 am
Posts: 656
Location: Athens
Been thanked: 183 time(s)
Has thanked: 43 time(s)
Contribution Points: 13216
Welcome to the BE forums! Below I am going to guide you through making your first macro. Hopefully this will help you understand what a macro is, and the possibilities that are available with Blue Eye. This guide is for new users and beginner macro creators (Macroists). If you are an intermediate user, I am still currently working on your guide. Advanced users...I have nothing to say that you don't already know ;)

Before we start, be sure to use the restroom and grab a drink. Here we go!

1) To start off, open Blue Eye and click "Create" in the top left corner of the window. You will be brought to a screen that has two tabs at the top that say "Design View" and "Code View". Make sure that you are in the code view tab. You can continue in Design View if you wish, but that will not covered in this guide (not yet anyway).

2) If your navigation was successful, you should be looking at this screen:

Image

3) Now type "begin" and press enter. All macro's will start with begin...and end with end. Now on line 2, type "System.Launch application("notepad", "no")". As you may have noticed already, as you are typing it brings up shortcuts to help expedite the macro creation process. At this point, your macro is now capable of starting the Notepad application. Your screen should look like this:

Image

4) Let's add a bit more to that. Press enter again to go to the next line. Type "Macro.Pause(1000)" This will ensure that the notepad application has opened in time for your next couple of commands. Executing commands too quickly can often result in inaccuracy or flat out errors. The 1000 you put in the parenthesis determines how long the macro is paused for. It is in milliseconds, so 1000ms = 1 second.

5) Go to the next line once again and type in "Keyboard.Type text(Xadal is super cool{<enter>})". This command will automatically type "Xadal is super cool" and move to the next line in Notepad. It can type whatever you tell it to. At this point, your screen should look something like this:

Image

6) Now let's add the finishing touches. Move to the next line in Blue Eye and type "Keyboard.Insert text(I accept payment in the form of Cookies and Thanks)". I am not all that certain of the difference between Keyboard.Insert and Keyboard.Type so don't ask. After you have finished typing that, move to the next line and type "end" and press enter for the last time. Your screen should look a lot like this:

Image

7) All that is left to do now is name it and save it in "Demo" or whatever section you would like.

Congratulations, you have created your first macro. Not a very useful macro, but still fun for a new user. Below there are two links; one goes to a collection of useful guides for you to look through, and the other goes to a section of the forum that explains the different features of Blue Eye and what it is capable of. I highly suggest looking at both of those links, it will make everything a lot easier when you start making more complex macros.

Guides: viewtopic.php?f=301&t=7239
Features: viewforum.php?f=137

Well that's all for now! I may add more to this guide in the future, but for now this is sufficient. If you have any more questions please let me know! There are many VIP's around the forum that can help you out if i'm not around.

Keep any eye out for the intermediate guide coming soon!

Good Luck Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 1 time(s)  Unread post Posted: Wed Nov 14, 2012 9:54 am 
Contributor
Contributor



Joined: Sun Nov 11, 2012 10:57 pm
Posts: 69
Location: uk
Been thanked: 20 time(s)
Has thanked: 49 time(s)
Contribution Points: 302
ok cool looks like this is the place i will start tonight!

cheers

Winner


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 0 time(s)  Unread post Posted: Wed Nov 14, 2012 9:44 pm 
Contributor
Contributor



Joined: Sun Nov 11, 2012 10:57 pm
Posts: 69
Location: uk
Been thanked: 20 time(s)
Has thanked: 49 time(s)
Contribution Points: 302
Hi can i ask does the above still apply as i can't seem to find the create button?

Winner


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 1 time(s)  Unread post Posted: Wed Nov 14, 2012 10:42 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Wed Oct 12, 2011 12:46 am
Posts: 656
Location: Athens
Been thanked: 183 time(s)
Has thanked: 43 time(s)
Contribution Points: 13216
Yes it does. The create button should be in the top left of the main BE window.


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 0 time(s)  Unread post Posted: Thu Nov 15, 2012 10:47 am 
Contributor
Contributor



Joined: Sun Nov 11, 2012 10:57 pm
Posts: 69
Location: uk
Been thanked: 20 time(s)
Has thanked: 49 time(s)
Contribution Points: 302
Hmmmm can't see it!

Ive downloaded the macro, and dowloaded the .NET and when i run it Blue Eye Webtest v 2.0 opens up and then in the top left hand corner all i have is testing browser settings ect... ect

Have i got the right page here? Sorry about this but looks like im stuck before ive started :-(

winner


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 1 time(s)  Unread post Posted: Thu Nov 15, 2012 1:40 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Wed Oct 12, 2011 12:46 am
Posts: 656
Location: Athens
Been thanked: 183 time(s)
Has thanked: 43 time(s)
Contribution Points: 13216
I think you may have downloaded Blue Eye Webtest instead of Blue Eye Macro :|


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 0 time(s)  Unread post Posted: Thu Nov 15, 2012 3:06 pm 
Contributor
Contributor



Joined: Sun Nov 11, 2012 10:57 pm
Posts: 69
Location: uk
Been thanked: 20 time(s)
Has thanked: 49 time(s)
Contribution Points: 302
Cheers for letting me know!! ;-)

you don't have the link for macro bot by anychance?

Winner


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 2 time(s)  Unread post Posted: Thu Nov 15, 2012 3:25 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Wed Oct 12, 2011 12:46 am
Posts: 656
Location: Athens
Been thanked: 183 time(s)
Has thanked: 43 time(s)
Contribution Points: 13216
http://blueeye-automation.com/en-us/sub ... de_id=1317


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 1 time(s)  Unread post Posted: Thu Nov 15, 2012 3:55 pm 
Active User
Active User



Joined: Tue Apr 24, 2012 3:28 pm
Posts: 46
Been thanked: 4 time(s)
Has thanked: 3 time(s)
Contribution Points: 80
If i was you i would Wait till the new BEM2.6 come's out bc you only get it for 30 days don't forget to hit the thx butten


Top
 Profile  
Reply with quote  
 Post subject: Re: Making Your First Macro
Thanked: 1 time(s)  Unread post Posted: Thu Nov 15, 2012 6:56 pm 
Contributor
Contributor



Joined: Sun Nov 11, 2012 10:57 pm
Posts: 69
Location: uk
Been thanked: 20 time(s)
Has thanked: 49 time(s)
Contribution Points: 302
Thanks for your help Xadal and Nick! ;-)

Any ideas when the new Macro comes out?

Winner


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2, 3, 4, 5  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