Jump to content

AutoIT and SMS Sender ... continue - problem


Recommended Posts

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 ?.

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...