torels Posted June 2, 2008 Share Posted June 2, 2008 (edited) Hi there!I wrote a script which makes you run your scripts even if they aren't savedthe code is this:;scite tool: run without saving the script - torels_ #include <file.au3> $file = _TempFile(@TempDir,"~",".au3") $oldclip = ClipGet() FileOpen($file,2) FileWrite($file,_ReadScite()) FileClose($file) $AutoItProdexePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt", "InstallDir") $AutoItexePath = $AutoItProdexePath Run('"' & $AutoItexePath & '\AutoIt3.exe "' & ' "' & $file & '"') FileDelete($file) ClipPut($oldclip) Func _ReadScite() Opt("WinTitleMatchMode", 4) ; Read text from SciTE (already open) WinWait("[CLASS:SciTEWindow; INSTANCE:1]") $hSciTE = WinGetHandle("[CLASS:SciTEWindow; INSTANCE:1]") WinActivate($hSciTE) WinWaitActive($hSciTE) ControlFocus($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]") ControlSend($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]", "^a") ControlSend($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]", "^c") ControlSend($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]", "{left}") return ClipGet() EndFuncto add it to the tools bar in the scite do this:- compile the script- add these lines to the SciTe's properties filecommand.name.0.*=Instant Run command.0.*="$(DefaultSciteHome)\InstantRun.exe"the hotkey will be set to Ctrl+0Enjoy! Edited June 2, 2008 by torels Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
ChromeFan Posted September 11, 2008 Share Posted September 11, 2008 i think this one is a very helpful... but i don't know - add these lines to the SciTe's properties file command.name.0.*=Instant Run command.0.*="$(DefaultSciteHome)\InstantRun.exe" where is this file placed and where to edit it? Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, What happened? Casey Stengel Link to comment Share on other sites More sharing options...
torels Posted September 11, 2008 Author Share Posted September 11, 2008 In the SciTe directory I proposed it as a new feature for the next scite but it didn't seem a very good idea to the autoit team Anyway I constantly use it to run snippets I find on forums or just to try out a script without having to save it each time >_< Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
AlmarM Posted October 13, 2008 Share Posted October 13, 2008 So we cant use this program anymore? Because I would like to run scripts without saving them first. AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
torels Posted October 13, 2008 Author Share Posted October 13, 2008 So we cant use this program anymore?Because I would like to run scripts without saving them first.AlmarMWhy are you saying this ?XD Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
JRSmile Posted October 13, 2008 Share Posted October 13, 2008 nice indeet, but did you know if you press F5 it will save automatically and run nearly instantly? $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-) Link to comment Share on other sites More sharing options...
torels Posted October 13, 2008 Author Share Posted October 13, 2008 Yes but you have an annoying dialog all the time (if the script is not saved) and it gets quite annoying if you have to just run a code snippet or a little script found ont he forums Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
AlmarM Posted October 14, 2008 Share Posted October 14, 2008 I ment, can I still use this script for instans run. Because the scite.properties is gone? AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
torels Posted October 14, 2008 Author Share Posted October 14, 2008 is it ??? what is the last version ? I have 1.76 and there is a scite.properties file cheers Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
AlmarM Posted October 14, 2008 Share Posted October 14, 2008 Huh? Where is the properties file? AutoItDir\SciTE\ ? AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
torels Posted October 14, 2008 Author Share Posted October 14, 2008 should be anyway... if there is no scite.properties you create it and add the code i wrote in the post here above Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
therks Posted October 14, 2008 Share Posted October 14, 2008 I actually wrote a program (in AutoIt) to do this! Hum... I don't have the most recent version online, but this one will give you an idea of how it looks http://www.therks.com/autoit/compiled/QuickScript.exehttp://www.therks.com/autoit/compiled/QuickScript.au3 My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
torels Posted October 14, 2008 Author Share Posted October 14, 2008 wow... pretty good... far better than Instant Run anyway... and you never posted it on the forum ? Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
therks Posted October 15, 2008 Share Posted October 15, 2008 Actually I did http://www.autoitscript.com/forum/index.php?showtopic=42997And I've just now uploaded the most recent version. Not sure what's different though because I'm bad about keeping track of that stuff, heh. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
torels Posted October 15, 2008 Author Share Posted October 15, 2008 Not sure what's different though because I'm bad about keeping track of that stuff, heh.HeHeme to XD Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now