Jump to content

Run Untitled scripts without saving them manualy


PsiLink
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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.

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...