Jump to content

controlsend % (percent sign)


luzif3r
 Share

Recommended Posts

well, it might be a huge oversight on my part, but i am unable to controlsend "%" (percent sign) to an inactive and minimized window. i have tried several conversions or even briefly activating the window, which works but it takes quite long and is just annoying. so can anyone tell me how to do this?

Link to comment
Share on other sites

Hi,

no prob for me:

Opt('WinTitleMatchMode', 4)
Run('notepad', '',@SW_MINIMIZE)
Global $text = InputBox("Dein Text", "Bitte Text eingeben")
ControlSend("classname=Notepad", "", 'Edit1', $text)

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

hm, your "solution" turns out to give me a '5' and i could have told you because i tried that one before. i guess the program does something special then? any way to circumvent that? maybe some formatting or send it raw thru some dll calls? i am really clueless of why that does not work..

Link to comment
Share on other sites

hm, your "solution" turns out to give me a '5' and i could have told you because i tried that one before. i guess the program does something special then? any way to circumvent that? maybe some formatting or send it raw thru some dll calls? i am really clueless of why that does not work..

Which program?

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Try

Opt('WinTitleMatchMode', 4)
Run('notepad', '',@SW_MINIMIZE)
Sleep(1000)
;Global $text = InputBox("Dein Text", "Bitte Text eingeben")
ControlSend("classname=Notepad", "", 'Edit1', '{ASC 037}')

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

what program? Maybe somebody could help testing.

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

The only other variation that comes to mind would be something like:

ControlSend("Untitled - Notepad","","Edit1",Chr(37))

- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Link to comment
Share on other sites

its kinda embarrassing to bother you but it still gives me a 5 :/

code snippet:

Opt('WinTitleMatchMode', 4)
$wow_handle = WinGetHandle("classname=GxWindowClassD3d")
ControlSend($wow_handle, "", "", Chr(37))
Edited by luzif3r
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...