TouchOdeath Posted May 12, 2009 Posted May 12, 2009 To add a bookmark Autoit/SCTIE you have to press CTRL+F2, which those 2 keys are far away, so heres a way to do QUICK bookmarking. EXTREMELY useful. HotKeySet("{F2}", "Bookmark") HotKeySet("{F4}", "NexBook") Func NexBook() Opt('WinTitleMatchMode', 2) $handle = ControlGetHandle('[CLASS:SciTEWindow]', 'S', '[TEXT:S]') Select Case $handle <> '' and WinActive('SciTE','') HotKeySet('{F2}');reset hotkey so you dont trigger Bookmark Function Send('{F2}') HotKeySet('{F2}', 'Bookmark') Case Else HotKeySet('{F4}') Send('{F4}') HotKeySet('{F4}', 'NexBook') EndSelect EndFunc Func Bookmark() Opt('WinTitleMatchMode', 2) $handle = ControlGetHandle('[CLASS:SciTEWindow]', 'S', '[TEXT:S]') Select Case $handle <> '' and WinActive('SciTE','') Send('^{F2}') Case Else HotKeySet('{F2}') Send('{F2}') HotKeySet('{F2}', 'Bookmark') EndSelect EndFunc While 1 sleep(1) wend F2 Creates/deletes bookmarks and F4 Jumps between them. What you do is turn this code into an exe and run it at windows startup. Takes almost 0 resources to run and its well worth it.
AdmiralAlkex Posted May 12, 2009 Posted May 12, 2009 "SCTIE"? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
oMBRa Posted May 12, 2009 Posted May 12, 2009 I think this will be the script of the year, it is so hard to press ctrl+F2
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