Sign in to follow this  
Followers 0
PsiLink

Run Untitled scripts without saving them manualy

3 posts in this topic

Hi guys! Here is a little Scite augmentation script I wrote. Hope someone will find it useful too :)

As an autoit beginner I often need to check some code, but before it runs file has to be saved. That is exactly what this func will do for you)

$PathToFile = "C:\Program Files\AutoIt3\Examples\NFldr\" ;Tells where to save to
   $FileName = "_Mind_Checking_In_" ;Feeling creative? Give it another name.
   $iMin = 10  ;Starting value
   $iMax = 19

Just specify default folder to save files, more convenient file name, if you wish so, and number range which will be appended to the file name to be able to tell them apart.

I prefer two-digit values for sorting reasons.

So, thats it. Enjoy :dance:

TestScript heaven (UntiltedSaveAndRun).au3

Share this post


Link to post
Share on other sites



Or simply have a script file called Test that you begin all your work in, and save a copy of the file with a meaningful name when you're ready?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

This is an option, but because open file starts in the folder relative to the current opened script and I have multiple folders for tested, for working, for completed scripts it forces me to jump around too much. In addition to this when working on understanding more complex ideas in multitude of scripts test files tend to multiply faster then mushrooms after the rain, so having this process sort of automated helps a bit with a work flow. That's my thoughts on it.

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
Sign in to follow this  
Followers 0