Stephen An Posted December 4, 2015 Share Posted December 4, 2015 (edited) HelloI look forward to using help from youI want one simple sciptWhen you press F4, will automatically paste text [helloworld]if so, can select the location on the screenThanks for reading Edited December 6, 2015 by Stephen An Link to comment Share on other sites More sharing options...
iamtheky Posted December 4, 2015 Share Posted December 4, 2015 (edited) look at the clip functions Edited December 4, 2015 by boththose Stephen An 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Jefrey Posted December 4, 2015 Share Posted December 4, 2015 (edited) If you want to paste a text every time F4 is pressed, you could do:Global Const $text = "text to paste" HotKeySet("{F4}", "paste") Func paste() Send($text) EndFunc While 1 Sleep(100) WEndNote that this script writes, instead of pasting. If you really want to paste...Global Const $text = "text to paste" HotKeySet("{F4}", "paste") Func paste() ClipPut($text) ; copy to clipboard Send("^v") ; Ctrl + V, see helpfile EndFunc While 1 Sleep(100) WEnd Edited December 4, 2015 by Jefrey Stephen An 1 My stuff Spoiler My UDFs _AuThread multithreading emulation for AutoIt · _ExtInputBox an inputbox with multiple inputs and more features · forceUTF8 fix strings encoding without knowing its original charset · JSONgen JSON generator · _TCPServer UDF multi-client and multi-task (run on background) event-based TCP server easy to do · _TCPClient_UDF multi-server and multi-task (runs on background) event-based TCP client easy to do · ParseURL and ParseStr functions ported from PHP · _CmdLine UDF easily parse command line parameters, keys or flags · AutoPHP Create documents (bills, incomes) from HTML by sending variables/arrays from AutoIt to PHP · (Un)Serialize Convert arrays and data into a storable string (PHP compatible) · RTTL Plays and exports to MP3 Nokia-format monophonic ringtones (for very old cellphones) · I18n library Simple and easy to use localization library · Scripting.Dictionary OOP and OOP-like approach · Buffer/stack limit arrays to N items by removing the last one once the limit is reached · NGBioAPI UDF to work with Nitgen fingerprint readers · Serial/Licensing system require license key based on unique machine ID from your users · HTTP a simple WinHTTP library that allows GET, POST and file uploads · Thread true AutoIt threads (under-dev) · RC4 RC4 encryption compatible with PHP and JS · storage.au3 localStorage and sessionStorage for AutoIt Classes _WKHtmlToX uses wkhtmlto* to convert HTML files and webpages into PDF or images (jpg, bmp, gif, png...) Snippets _Word_DocFindReplaceByLongText replace strings using Word UDF with strings longer than 255 characters (MSWord limit) rangeparser parser for printing-like pages interval (e.g.: "1,2,3-5") EnvParser parse strings/paths with environment variables and get full path GUICtrlStaticMarquee static text scrolling Random stuff Super Mario beep sound your ears will hurt Link to comment Share on other sites More sharing options...
Stephen An Posted December 4, 2015 Author Share Posted December 4, 2015 (edited) sorry,I do not see button edit, how to edit post?omg, first post no button edit ^^! Edited December 4, 2015 by Stephen An Link to comment Share on other sites More sharing options...
iamtheky Posted December 4, 2015 Share Posted December 4, 2015 true that, you probably have to get up to five posts before you can ruin the flow of a thread Stephen An 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Developers Jos Posted December 4, 2015 Developers Share Posted December 4, 2015 No idea what you guys are on about ... Jos Stephen An 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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