formatted text for putting it to the clipboard
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By Fadi
Hi i'm trying to create a ClipPut with differents font size and font and then paste it into word document.
I know in Word document, i can send("^+P") and change the font size, but it's not then best way to do if i have to change the font and size many time in the document.
ShellExecute("ReportTemplate.doc")
WinActivate("ReportTemplate.doc [Compatibility Mode] - Word")
WinWaitActive("ReportTemplate.doc [Compatibility Mode] - Word")
Sleep (1000)
ClipPut("Underline Size 16: " & "Bold size 12" & "Normcal size 11")
Send("^v")
Any idea?
-
By diff
Hello,
still learning and trying to understand AutoIT but having problem in filling my PDF file.
So my code looks like similar to this:
Global $1 = "text text 44444444" Global $2 = "texting2 texting2" Global $3 = "newtext3 next3" ShellExecute ("C:\Users\XXX\Desktop\myPDF.pdf") WinWaitActive("MyPDF.pdf - Adobe Acrobat Reader DC") Send ("{TAB}") ClipPut($1) Send ("^v") Send ("{TAB 3}") ClipPut($2) Send("^v") Send ("{TAB}") ClipPut($3) Send("^v") So its fill my PDF form, the first field looks good, the code add the text text 4444, then second should be $2 with texting2 texting2 but for some reason the code uses for second and third field after TAB only variable $3.
So, I receive in $2 and $3 for some reason same newtext3 next3 in both, why its skipping the variable $2? Maybe there also much better solution for instant text? Because Send writes with delay by letters which I don't like.
Thanks!
-
By SkysLastChance
What am I doing wrong here.
I am trying to get a list of names in the clip that look like
Bob
Greg
James
Kevin
Etc...
I have tried
ClipPut("Bob" & @CRLF & "Greg" & @CRLF & "James" & @CRLF & "Kevin" & @CRLF & "Tim" & @CRLF & "Kelly" & @CRLF & _ "Susan"_& @CRLF & "Bill" & @CRLF & "Maggie" & @CRLF & "Amanda" & @CRLF & "Matt" & @CRLF & "Robert" & @CRLF & "Sara" & @CRLF & _ "Zach" & @CRLF) and
ClipPut("Bob" & @CRLF & "Greg" & @CRLF & "James" & @CRLF & "Kevin" & @CRLF & "Tim" & @CRLF & "Kelly" & @CRLF & _ & "Susan"_& @CRLF & "Bill" & @CRLF & "Maggie" & @CRLF & "Amanda" & @CRLF & "Matt" & @CRLF & "Robert" & @CRLF & "Sara" & @CRLF & _ & "Zach" & @CRLF)
-
By nacerbaaziz
hello autoit group
please i've a question
i had make a function that put some thing into the clipBoard and paste it
using the send function
e.g
ClipPut("hello")
send("^v")
when the keyboard is english all things work fine
but when the keyboard is arabic the send command write the ltr v insted of the text in clipboard
i was tryed to use
send("{ctrldown}v{ctrlUp}")
but the same
please can any one help me
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