Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Sat Dec 16, 2017 8:34 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Text Variable
Thanked: 0 time(s)  Unread post Posted: Sat Aug 26, 2017 11:55 pm 
New User
New User
User avatar



Joined: Mon May 15, 2017 1:17 am
Posts: 20
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 16
Hello.

How can i set BEM to type a increased number everytime the same macro runs?

Specifically like this.. i am creating multiples accs, each username it's Adachi1
Adachi2
Adachi3
Adachi4
Adachi5
Adachi6...

...Adachi50
Adachi51..
..Adachi1943
Adachi1942

And so on...

Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Variable
Thanked: 0 time(s)  Unread post Posted: Mon Aug 28, 2017 9:30 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 1689
Location: USA
Been thanked: 358 time(s)
Has thanked: 26 time(s)
Contribution Points: 15915
Code:
 begin
     if  Variable.Does not exist("number")
          begin
               Variable.Set("number", "0")
          end
     Variable.Increment (Math)("number")
     Variable.Evaluate (Text)("Adachi{number}", "name")
     Window.Display message box("{name}", "yes")
 end
Use this to test it, then just change the "window.display" to "keyboard.type text" or however you want to use the variable.

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

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