Sign in to follow this  
Followers 0
Borje

Need help to convert this little ahk script

5 posts in this topic

Hi

Is here any that could help me to convert this little ahk script to autoit?

This for i want to learn more..

ahk code:

; AutoHotkey Version: 1.x

; Script Function:

; enable paste in the Windows command prompt

;

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

;#IfWinActive ahk_class ConsoleWindowClass

^V::

SendInput {Raw}%clipboard%

return

#IfWinActive

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I'm not used to autohotkey.

But the functions that might be helpful are:

clipget()

clipput()

winwaitactive()

send()

Regards, Rudi.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Run<-for cmd

ClipGet<-for clipboard

StdinWrite<-for writing

?!!

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Thank bogQ and rudi

Thanks for the tips but I am not so familair with this commands do you have some example from the code I have an I can see how to use them.

Share this post


Link to post
Share on other sites

You will see examples in the help file... do a try and post it here.

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  
Followers 0