Jump to content

SciTe script starter


 Share

Recommended Posts

No Biggie really, but a huge timesaver for me...and isn't that what its all about?

For instance; you see a piece of code you want to test and begin to click...copy - paste F5 and so on.

I have this tied to one of my gaming macro buttons on my keyboard.

;~ Opens SciTE, creates a new file and saves it to your desktop with the Month Day & Time for name

ShellExecute("SciTE.exe")
WinWait("AutoIT.au3 * SciTE", "", 1)
Send("^n")
Send("^+s")
WinWaitActive("Save File")

If WinExists("Save File") Then
    Send(@DesktopDir & "\" & @MON & @MDAY & @HOUR & @MIN)
    Sleep(250)
    ControlClick("Save File", "", "[CLASS:Button; INSTANCE:2]")

EndIf

It would be interesting to know how many of you have something like this already. :idea:

Link to comment
Share on other sites

Now that you mention it, I really should. Instead I have one file that I reuse over and over and over again.

I think I like your way better.

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

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