Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Variables
Topic Summary:
Created On: 07/07/2011 08:33 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 07/07/2011 08:33 AM
User is offline View Users Profile Print this message

Author Icon
NiklasAronsson
Student (5-19 posts)

Posts: 18
Joined: 07/07/2011

Hi does anyone know a good way to have 2 if statements checked before further action is taken, i only managed to get 1 working with this code but i need to check 2 conditions before send keystrokes ,ill have the current working code attached, Thanx in advance!



 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 07/07/2011 10:04 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

Niklas,
using "complex" in the if you can test whatever complicated situation.
Example if var1<0 AND var2=3
just type in the "complex" text box %var1<0 AND var2=3% as below

 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
 07/07/2011 11:50 PM
User is offline View Users Profile Print this message

Author Icon
NiklasAronsson
Student (5-19 posts)

Posts: 18
Joined: 07/07/2011

Ty, that worked, i was typing it a little diffrent



 Category Survey
 07/08/2011 03:04 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

You're welcome, Niklas.

 Category Survey


-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1121 guests browsing this forum, which makes a total of 1121 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog