jpp99999

Save data from inputbox to desktop

3 posts in this topic

#1 ·  Posted

Hello. i cant figure out how i can type in numbers in inputboxes and get them mulitplyed and then get saved to the desktop in a txt file.

if this is even poisble pls let me know! i am able to create a kind of caluclator and i am able to save thing to desktop but i cant combind it.

Share this post


Link to post
Share on other sites



#2 ·  Posted

$sFile = @DesktopDir & "\InputBox.txt"
$iInput = InputBox("InputBox to Desktop", "Please enter a number")

$iInput = Int($iInput) * 50

FileWriteLine($sFile, $iInput)

 

Does this help you?

Share this post


Link to post
Share on other sites

#3 ·  Posted

3 hours ago, Floops said:
$sFile = @DesktopDir & "\InputBox.txt"
$iInput = InputBox("InputBox to Desktop", "Please enter a number")

$iInput = Int($iInput) * 50

FileWriteLine($sFile, $iInput)

 

Does this help you?

Yes! Thanks!:)

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now