As it mentioned in Help, If structure works several ways.
What I want is if condition met then do one thing and do another thing.
For Example:
In above example, if user failed to entered correct serial key & reaches max attempts then application exit and visit to a website/url.
But my code is not working, tried adding "and" but no luck.
Code:
if condition then do something here end
For Example:
Code:
if(SerialNumberScreen.AttemptCount >= SerialNumberScreen.MaxAttempts) then Application.Exit(0); File.OpenURL("WebsiteURL", SW_SHOWNORMAL); end
But my code is not working, tried adding "and" but no luck.
Comment