|
#1
|
|||
|
|||
|
Help
Hej.Im a beginners in this and need your help. A program in windows copy the plain text to the clipboard. I would then paste the text into a field in the factory setup. How do I do this?
|
|
#2
|
||||
|
||||
|
Quote:
Clipboard.CopyText() A simple sample is: Code:
if Clipboard.IsTextAvailable() then
DlgEditField.SetProperties(CTRL_EDIT_01, {Text=Clipboard.CopyText()});
end
Last edited by jassing; 10-23-2008 at 06:07 PM. Reason: added sample code |
|
#3
|
|||
|
|||
|
Thanks for your help Jassing.
If the second program to copy text from a variety of fields, and this text will then be pasted in various fields in the setup factory have the script in setup factory pause about 10 seconds between each time the second copy. How could this script look like? Grateful if you have time to answer this question.
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
Hello again!
Hello again. Can you give me an example of how it would look like if the following would happen: paste to the field, "rubrik1" pause for 3 sec, paste in the box "rubrik2", "pause for 3 sec
|
|
#6
|
||||
|
||||
|
Quote:
2nd, i already gave you the code to put the clipboard into an edit box. 3rd I already gave you the call to "pause" -- did you read help? Did you try anything? To pause for 3 seconds Code:
Application.Sleep( 3000 ); |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 12:13 AM.









Linear Mode
