Jump to content
Sign in to follow this  
l3ill

SciTe script starter

Recommended Posts

l3ill

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:

Share this post


Link to post
Share on other sites
Fulano

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!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.