Jump to content

ask once and remember it into *.ini


Recommended Posts

IniRead() returns a default value so you can read the value and if the value is not as your script wants i.e default value returned, then use your inputbox to get the information.

:lmao:

hmm

i tought bout something like that:

for egzample:

I

1. run script

2. input box asks abaout value

3. use value in some way

4. quit

II

1. user run the same script again

2. NO question for value

3. use value from input box from part I

4. quit

:whistle:

Edited by Wratislavian
Link to comment
Share on other sites

thx for help :whistle:

$muz = IniRead("WratiPz.ini", "ustawiena", "muz", "1")
if $muz = "1" Then
$Muz1 =InputBox("made by Wrati", "insetr patch", "C:\......\.mp3", "", -1, -1, 500, 500)    
            IniWrite("WratiPz.ini", "ustawiena", "muz", $muz1)
            Exit
ElseIf $1 = 1 Then
sleep (1000)        
EndIf
Edited by Wratislavian
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...