Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Tue Dec 12, 2017 9:59 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Help with multiple choice input
Thanked: 0 time(s)  Unread post Posted: Thu Dec 29, 2016 11:45 pm 
New User
New User



Joined: Thu Nov 10, 2016 9:19 pm
Posts: 4
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 13
How can I manipulate a variable that is a result of this command to run macros?

begin
Window.Request user multiple choice input("title", "macro1;macro2;macro3;macro4", "result")
//Run the selected macros of the variable result//
end


Top
 Profile  
Reply with quote  
 Post subject: Re: Help with multiple choice input
Thanked: 2 time(s)  Unread post Posted: Fri Dec 30, 2016 11:39 am 
New User
New User



Joined: Mon Dec 19, 2016 10:34 pm
Posts: 16
Been thanked: 5 time(s)
Has thanked: 2 time(s)
Contribution Points: 33
salchig wrote:
How can I manipulate a variable that is a result of this command to run macros?

begin
Window.Request user multiple choice input("title", "macro1;macro2;macro3;macro4", "result")
//Run the selected macros of the variable result//
end


You can use "if Variable.Contains text("x", "y")" like this:

Code:
 begin
     Window.Request user multiple choice input("title", "macro1;macro2;macro3;macro4", "result")
     if  Variable.Contains text("result", "macro2")
          begin
               Macro.Execute new("", "macro2", "no")
          end
 end

_________________
LoL Twisted Fate Card Chooser


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