Sign in to follow this  
Followers 0
SpeAroX

Controlsend Slash(/)

5 posts in this topic

Hello,

Anyone can help me i want send normal slash (/) key with ControlSend but i can't if i write normally / i got 6 if i write in ascii code i got 6 if i write shitfdown 6 shiftup i get 6... I don't have more idea but i need send slash key.

Anyone can help?

Share this post


Link to post
Share on other sites



It doesn't work in quotes? Like this: "/" or '/'.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

I tried this

Sleep(1000)
$kk="/"
Send($kk)
Send($kk)
Send($kk)
Send($kk)

(The sleep was so I can switch to another application like notepad or something else and see if the slash are sent)

And sent the slash correctly and with no problem.

Another option may be to try use the flag

Send($kk,1)

Which sends keys raw. Try both.

Bye :)


I'm a compulsive poster. When I post something, come to read it at least 5 minutes later after the posting, because I will edit it. I edited even this signature a few minutes later after I wrote it.

Share this post


Link to post
Share on other sites

somdcomputerguy: I tried this first :) won't work.

Newb: Won't work too.

My problem: I use ControlSend not normal Send becouse i want send to backgrounded window. If i write controlsend with normal / and the window in background the program write 6 not / and if the window in front and i use controlsend with normal / the program can't write too.

Of course work with normal send but i want use controlsend for background window.

Share this post


Link to post
Share on other sites

This sends a / on my notepad on background

ControlSend("[CLASS:Notepad]", "", "Edit1", "/")

I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0