AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Searching for a old script that executes scripts from clipbo

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Kramer
Guest





PostPosted: Sun Jan 10, 2010 7:15 pm    Post subject: Searching for a old script that executes scripts from clipbo Reply with quote

Hi,

For about a year ago I leeched a small script of the forum that made it possible to execute the contained script in clipboard directly.

So if somebody posted sample codes I could execute them directly without having to open a new .ahk past close and run it.
If I do remember correctly it also saved the script in sequence into a folder.

If anybody still got that please post it.

Thank you very much,
Kramer
Back to top
svi



Joined: 09 Oct 2006
Posts: 236
Location: Finland

PostPosted: Sun Jan 10, 2010 7:28 pm    Post subject: Reply with quote

I use Lexikos' Run Dynamic Script... Through a Pipe! modified to use clipboard instead of InputBox.

Kramer wrote:
it also saved the script in sequence into a folder
You could easily add that (backup) function.
_________________
Pekka Vartto
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 3254
Location: Simi Valley, CA

PostPosted: Sun Jan 10, 2010 9:54 pm    Post subject: Reply with quote

Maybe it was my Clipboard Execute script ?
_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!
Back to top
View user's profile Send private message
DeRoc



Joined: 04 Jul 2009
Posts: 9
Location: SF Bay Area

PostPosted: Sun Jan 10, 2010 11:46 pm    Post subject: Reply with quote

I use this to run from a hotkey I have in the AutoHotKey.ini file.

(Very) Quick 'n Dirty Surprised

Code:
; RunSample.ahk: Run script from clipboard

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
tempfile = TempOnlyFile.ahk

IfExist, %tempfile%
   FileDelete, %tempfile%

FileAppend, %Clipboard%, %tempfile%
RunWait, %tempfile%

FileDelete, %tempfile%


And the hotkey I use
Code:
AppsKey & n::   ;Run Sample from Clipboard
   SetWorkingDir %scriptsBob% ; where I have my scripts
   Run RunSample.ahk
Return
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group