Maxvan1 Posted January 28, 2007 Share Posted January 28, 2007 This should be an easy one for you guys. I searched, but I dont really know what to search for. I dont know what its called. How do I say somthing like "Maximize Adobe Photoshop"? I have been using the mouse to just click the tab on the toolbar, but it keeps messing up. Link to comment Share on other sites More sharing options...
Bert Posted January 28, 2007 Share Posted January 28, 2007 winsetstate The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Uten Posted January 28, 2007 Share Posted January 28, 2007 (edited) WinSetStateEDIT: Kudos to @volly, but I did dig up a link.. Edited January 28, 2007 by Uten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Bert Posted January 28, 2007 Share Posted January 28, 2007 I thought the user was looking at the helpfile already, and didn't know where to look. We ahould have it as a rule of thumb to link when pointing to a command. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Uten Posted January 28, 2007 Share Posted January 28, 2007 I thought the user was looking at the helpfile already, and didn't know where to look. We ahould have it as a rule of thumb to link when pointing to a command.It should be automatic. At least for AutoIt functions written outside code/codebox/autoit tags. Actually I did have to look it up to make sertain it would work as I expected Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Maxvan1 Posted January 28, 2007 Author Share Posted January 28, 2007 Ok, I have a question. Why is this not working? WinSetState( "Adobe Photoshop", "", @SW_MAXIMIZE) I think its because of the "Adobe Photoshop". Link to comment Share on other sites More sharing options...
BALA Posted January 28, 2007 Share Posted January 28, 2007 Ok, I have a question. Why is this not working? WinSetState( "Adobe Photoshop", "", @SW_MAXIMIZE)I think its because of the "Adobe Photoshop".I don't know for sure since I don't have Photoshop, but if it's anything like Paint, the title will probably be "Untitled" before you save it for the first time. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Shevilie Posted January 28, 2007 Share Posted January 28, 2007 Use the Autoit Window Info tool to get the windowname and the class.. If the name changes from time to time you might use the class alone or you can see in the helpfile for http://www.autoitscript.com/autoit3/docs/i...owsadvanced.htm Window Titles. Theres a lot of way to get the handle of a window Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
BigDod Posted January 28, 2007 Share Posted January 28, 2007 Ok, I have a question. Why is this not working? WinSetState( "Adobe Photoshop", "", @SW_MAXIMIZE)I think its because of the "Adobe Photoshop".Works for me with Adobe Photoshop 7.0 Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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