SRL Archive - OSR Help

Deleting a Scripts File Path


Sk1nyNerd

2013-10-21 00:16:28

when autoupdating is successfull.. is it possible to close simba and delete the outdated file off the computer? if so how?

i thought i seen someone post a thread on how to delete your script off of a computer a couple months ago but i think that was for x amount of time or a certain date mm/dd/yy, cant find it though


thanks

Sk1nyNerd

2013-10-21 01:13:15

Question 2: How can i count how many characters are in a Tedit box?

im trying to create a failsafe so if the user enters a username or password under 4 characters a ShowMessage will appear telling them to enter a valid username or password

im not familiar with arrays or array lengths

Thanks

riwu

2013-10-21 06:29:24

You can delete files by calling DeleteFile().

You can check the length of a string/array with Length().