Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to outp a special character ?
#3
You cannot use UNICODE characters in QM editor. But you can use key with programs that support it.

Code:
Copy      Help
act "WordPad"
key (350) ;;uses Alt+0350
key (350|0x40000) ;;faster, does not use Alt

outp cannot paste UNICODE text. But str.setsel can. Found this function:

Function PasteUnicode
Code:
Copy      Help
;/
function c1 [c2] [c3] [c4] [c5] [c6] [c7] [c8] [c9] [c10]

;Pastes one to ten UNICODE characters.

;EXAMPLE
;PasteUnicode 0x203D



int i n=getopt(nargs)
str s.all(n*sizeof(word) 2)
int* a=&c1
word* w=+s

for(i 0 n) w[i]=a[i]

s.setsel(CF_UNICODETEXT)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)