Sign in to follow this  
Followers 0
kpu

Send Command Dosen't Seem To Work.

6 posts in this topic

I did a quick search but didn't see anything on this. Maybe it's just my PC, but when I use the send command running in beta 3.1.1.116 "send()" doesn't seem to work. When I complile it in the public release 3.1.1.0, it doesn't seem to work either.

Is this just me? :)

Here's the basic code I did to test this:

run(notepad.exe)
Wait(1000)
Send("this should work")

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I did a quick search but didn't see anything on this. Maybe it's just my PC, but when I use the send command running in beta 3.1.1.116 "send()" doesn't seem to work. When I complile it in the public release 3.1.1.0, it doesn't seem to work either.

Is this just me? :)

Here's the basic code I did to test this:

run(notepad.exe)
Wait(1000)
Send("this should work")
Are you serious ?

First 2 lines are invalid syntax...

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Are you serious ?

First 2 lines are invalid syntax...

Nice response.

Is this just me? :)

Yes, it's definitely just you.

Share this post


Link to post
Share on other sites

...Is this just me?...

We all have bad days... try this code:
Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("have a better day")

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Are you serious ?

First 2 lines are invalid syntax...

Okay, so I did a type-o "ON THE FORUM". Sorry! I still have the issue. Maybe it's an issue with my PC, but none of my send commands work when I run or compile using Scite.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Okay, so I did a type-o "ON THE FORUM". Sorry! I still have the issue. Maybe it's an issue with my PC, but none of my send commands work when I run or compile using Scite.

Its not a matter of a type-o, the request for Bug reports is to provide a script that demonstrates the bug you are having....

Don't let us guess what you mean like with the Wait() command .... do you mean Sleep() or WinWait() ?

I hope the last one because with a Sleep() there is a possibility that Notepad didn't start within the one second and it would look like the sent doesn't work. Its better to WinWait() till the Window exists and then do a WinActivate to ensure the Window you want to sent the characters to has the focus......

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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