Jump to content



Photo

Special Character question


  • Please log in to reply
3 replies to this topic

#1 Augmentation

Augmentation

    Seeker

  • New Members
  • 2 posts

Posted 26 February 2012 - 10:31 AM

Hello guys!

I have a problem about special characters, it doesnt seem to be working for me.

A part from the script:

Send("{/question1 #This is the first question}")
Send("{enter}")
Sleep(5000)

I want to get /question1 #This is the first question but the script only writes / and presses enter and I need the whole line to be entered. Can anyone help me with this? What did I do wrong?
Thank you!

/edit

I also tried this:
Send("{{+6}question1 {!x}This is the first question}")
Result: {question1 !This is the first question}


Send("{+6}question1 {!x}This is the first question")
Result: +question1 !This is the first question

So still no success :) Internet is a srs business

Edited by Augmentation, 26 February 2012 - 10:37 AM.








#2 water

water

    ?

  • MVPs
  • 11,188 posts

Posted 26 February 2012 - 10:42 AM

Welcome to AutoIt and the forum!

Try
Send("{/question1 #This is the first question}", 1)

With the flag set to 1 special characters like +, ! and # are not interpreted but sent as raw.

Edited by water, 26 February 2012 - 10:42 AM.

UDFs:

Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki

OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki

ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts

WordEX (2012-12-29 - Version 1.3 released) - Download

ExcelEX (2013-05-11 - Alpha 4 released) - Download


#3 Augmentation

Augmentation

    Seeker

  • New Members
  • 2 posts

Posted 26 February 2012 - 02:25 PM

Thank you! It works :)

#4 water

water

    ?

  • MVPs
  • 11,188 posts

Posted 26 February 2012 - 02:26 PM

:)

UDFs:

Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki

OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki

ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts

WordEX (2012-12-29 - Version 1.3 released) - Download

ExcelEX (2013-05-11 - Alpha 4 released) - Download





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users