Achilles Posted December 31, 2006 Share Posted December 31, 2006 (edited) I'm trying to do this all hidden but I'm not sure how to proceed. I've tried a bit of ControlSend but with paint I can't seem to find any of the control numbers... All I can get is the ClassNameNN but that doesn't seem to be working... Func Resizepics($picture);$picture is just a file path to a picture ShellExecute($picture, '', '', 'edit');, @SW_HIDE) Sleep(500) Send("^w") Sleep(500) Send($percent);How much to scale the picture by... Send("{tab}") Send($percent) Send("{enter}") Sleep(500) Send("^s") Sleep(500) Send("!{f4}") Endfunc If anyone could let me know if this is possible or show me how to find out the control names or anything it would be greatly appreciated.... Thanks Edited December 31, 2006 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted December 31, 2006 Share Posted December 31, 2006 (edited) Dont use Send use Controlsend if your going to send keys to it, and shell execute will run the picture with its default setting and its not paint atleast i think it will Edited December 31, 2006 by Thatsgreat2345 Link to comment Share on other sites More sharing options...
Achilles Posted December 31, 2006 Author Share Posted December 31, 2006 Dont use Send use Controlsend if your going to send keys to it, and shell execute will run the picture with its default setting and its not paint atleast i think it will The 'edit' opens it with paint. And I found a solution for sending the control W: WinMenuSelectItem('Paint', '', '&Image', '&Stretch/Skew...') That works, but then I don't know how I would make the Stretch/Skew box be hidden... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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