ardel1 Posted August 11, 2015 Share Posted August 11, 2015 Hello, I am new to AutoIt and I am wondering something. Is it possible to enter a calculation (such as 5*3) in a single inputbox and calculate it?For example:$Calculation = InputBox( "Calculator", "Enter Your Calculation Here:", "", " M")So basically I am asking if it is possible to get $Calculation as one number, or do something with it to make it one number (so if I would enter 3*5 it would change it into 15), in another variable of course. ~Ardel1 Link to comment Share on other sites More sharing options...
Danyfirex Posted August 11, 2015 Share Posted August 11, 2015 of course yes.$Calculation = InputBox( "Calculator", "Enter Your Calculation Here:", "", " M")MsgBox(0,"",Execute($Calculation))Saludos ardel1 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
ardel1 Posted August 11, 2015 Author Share Posted August 11, 2015 Thank you very much!I honestly expected it would be something that simple but I just couldn't find it.Thanks again :)! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now