hi im trying to make a autot script,
that pastes a serial number into, a registration box
the serial number is in 6 lines
I figured out that if i put the first line,then
send('{ENTER}')
then the next line and
send('{ENTER}')
it pastes it in correctly but the serial no has + symbols in it and they dont get pasted in, ive been playing with
clipget and clipput.
but cant seem to get it to work
cheers
Page 1 of 1
Autoit serial paste contains + wont paste
#2
Posted 20 December 2005 - 02:50 PM
If you had posted the line your using it would be of great help 
But anyhow, I'd do something like
But anyhow, I'd do something like
Send("{ENTER}" & $string1 & "{ENTER}" & $string2")
#3
Posted 20 December 2005 - 03:00 PM
hi thanks for your reply
the line im using is my serial heres the part with the + symbol
SEND("bF+qbmLvEjV+4JCAX+H/TBpG7pdEJ8IEW09ST8t60Poou/CT")
SEND('{ENTER}')
SEND("To+WvErl omRpMfd15+/2EA/SbxzdwKmX6ybVAYnLe4g3che")
SEND('{ENTER}')
when i send this the + are missing
Cheers
the line im using is my serial heres the part with the + symbol
SEND("bF+qbmLvEjV+4JCAX+H/TBpG7pdEJ8IEW09ST8t60Poou/CT")
SEND('{ENTER}')
SEND("To+WvErl omRpMfd15+/2EA/SbxzdwKmX6ybVAYnLe4g3che")
SEND('{ENTER}')
when i send this the + are missing
Cheers
#4
Posted 20 December 2005 - 05:46 PM
Thats because when using "Send" or "ControlSend" the "+" marks the next character as shifted.
To change this behavior simply set the flag for the command to 1.
Send ("+foo+", 1)
How ever I'd really suggest staying clear of Send & ControlSend if possible and instead use ControlSetText.
ControlSetText ( "title", "text", "Edit1", "+line 1+" & @LF & "+line 2+" & @LF & "+line 3+" )
To change this behavior simply set the flag for the command to 1.
Send ("+foo+", 1)
How ever I'd really suggest staying clear of Send & ControlSend if possible and instead use ControlSetText.
ControlSetText ( "title", "text", "Edit1", "+line 1+" & @LF & "+line 2+" & @LF & "+line 3+" )
#5
Posted 21 December 2005 - 01:21 AM
thanks Nologic
the Send ("+foo+", 1) worked a treat
I dont understand the
ControlSetText ( "title", "text", "Edit1", "+line 1+" & @LF & "+line 2+" & @LF & "+line 3+" )
could you exsplan it please
using this text
fghjkloiuklio
yu76+hj+llp
HJY76po+u7
sorry to be so dumb
thanks again
the Send ("+foo+", 1) worked a treat
I dont understand the
ControlSetText ( "title", "text", "Edit1", "+line 1+" & @LF & "+line 2+" & @LF & "+line 3+" )
could you exsplan it please
using this text
fghjkloiuklio
yu76+hj+llp
HJY76po+u7
sorry to be so dumb
thanks again
#6
Posted 21 December 2005 - 11:42 AM
@bobthenob: Please use CODE tags in your posts from now on
- ← AVG Internal Database out-of-date
- Application Installs
- Starting an EXE file from CD right after Win Installation →
Share this topic:
Page 1 of 1



Help

Back to top








