drendriu Posted August 17, 2009 Share Posted August 17, 2009 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 More sharing options...
Developers Jos Posted August 17, 2009 Developers Share Posted August 17, 2009 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 More sharing options...
drendriu Posted August 17, 2009 Author Share Posted August 17, 2009 You probably need to wait after starting SMSSender.exe for the Window to appear before doing the ControlSetText() commands.No it's not this..... Link to comment Share on other sites More sharing options...
drendriu Posted August 17, 2009 Author Share Posted August 17, 2009 No it's not this.....Whitout run script again, SMS-sending proces even not starting in previously window . Link to comment Share on other sites More sharing options...
Developers Jos Posted August 17, 2009 Developers Share Posted August 17, 2009 (edited) 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 August 17, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now