Jump to content
Sign in to follow this  
drendriu

AutoIT and SMS Sender ... continue - problem

Recommended Posts

drendriu

I continue work on my AutoIT aplication, which has to send SMS whit use SmSSender.

Aplication sending SmS, but not in this way I would like.

It's code

Run("C:\Program Files\Microsoft SMS Sender\SMSSender.exe")

ControlSetText("SMS Sender","Destination &Number:","Edit1", "555555555")

ControlSetText("SMS Sender","Body of the &message:","Edit2", "Hay everybody !!!!!")

ControlClick("SMS Sender","&Send","Button2")

After Compile/Build and click "Go" nothing happend. (SMS Sender runing, but not Send an SMS).

Until when I run aplication one more (new process), in previosly opened window folwing proces send a SMS.

All this looking that ....

http://nmp3.w.interia.pl/pliki/SMS.rar

What to add, to oblige my program to open process into correct window ?.

Share this post


Link to post
Share on other sites
Jos

You probably need to wait after starting SMSSender.exe for the Window to appear before doing the ControlSetText() commands.


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
drendriu

You probably need to wait after starting SMSSender.exe for the Window to appear before doing the ControlSetText() commands.

No it's not this.....

Share this post


Link to post
Share on other sites
drendriu

No it's not this.....

Whitout run script again, SMS-sending proces even not starting in previously window .

Share this post


Link to post
Share on other sites
Jos

No it's not this.....

Well, the way your script is made it is very likely.

Anyways, I do not know the posted program so will not be able to test it.

Whitout run script again, SMS-sending proces even not starting in previously window .

Not sure what you mean here.

Jos

Edited by Jos

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  

×