Sign in to follow this  
Followers 0
snowbrdr020

Can not find a command

5 posts in this topic

instead of using Send, 400 character.... etc

i would like to know if there is a command to send the paste (ctrl v) to a box i am trying to get text into. the send section under the help section only gives the {enter} example.

Any help would be nice. thanks.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

instead of using Send, 400 character.... etc

i would like to know if there is a command to send the paste (ctrl v) to a box i am trying to get text into. the send section under the help section only gives the {enter} example.

Any help would be nice. thanks.

The help for Send is quite comprehensive IMO. There is much more information there than just the example. There is this

'^'

This tells AutoIt to send a CONTROL keystroke, therefore Send("^!a") would send "CTRL+ALT+a".

So from that should have been able to deduce that Ctrl V would be

Send("^v")

No need for a post, just read the help. :mellow:

EDIT:Or maybe you need ControlSend to paste tha text into a control in a particular window.

Edited by martin

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

You mean something like this?

Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
send("{CTRLDOWN}v{CTRLUP}")

Copy some text then run that script. It should work.

Edited by farhan879

System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser

Share this post


Link to post
Share on other sites

thanks for the replies. ^ for control is exactly what i am looking for.

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