RabbieBurns Posted April 6, 2010 Posted April 6, 2010 Im looking to make a bit of software for our new 22" touchscreens for the nursery. Basically, I just want to put maybe 8 x 3 rows of icons on it, with each icon running a different program. The thing I want to do though is to have it expand and fit fullscreen. So for eg if I ran it on an 11" screen, it would reduce itself accordingly and fit the screen. Is this possible with autoit?
ZeroHour Posted April 7, 2010 Posted April 7, 2010 Do you want the icons to scale in size or just have the window maximised for each?
mattx Posted April 7, 2010 Posted April 7, 2010 Im looking to make a bit of software for our new 22" touchscreens for the nursery. Basically, I just want to put maybe 8 x 3 rows of icons on it, with each icon running a different program. The thing I want to do though is to have it expand and fit fullscreen. So for eg if I ran it on an 11" screen, it would reduce itself accordingly and fit the screen. Is this possible with autoit? Not sure how you would get the GUI to auto size, [ you could check screen res perhaps and then launch the relevant GUI you have created. [ Thinking out loud ] - in regards to the GUI - I would start off using Koda: GUI Designer: Koda 1.7.2.0 - AutoIt Forums - which intergrated with say SciTe will make creating a GUI quite simple. [ It's what I did the Admin Bar in originally, but then I started having to tweak the settings myself when it got too small !! ]
RabbieBurns Posted April 7, 2010 Author Posted April 7, 2010 ZeroHour: I hadnt really given it much thought.. I guess fixed size would be alright if I can fit them together.. mattx: Ill have a look at Koda, cheers.
ajbritton Posted April 8, 2010 Posted April 8, 2010 I think you could achieve this as follows be creating an AutoIt GUI which has an 8 x 3 grid of buttons on it, the sizes and positions of which are determined at runtime, based on the @DesktopHeight and @DesktopWidth macros and a bit of simple maths to break up the screen into the appropriate number of pixels.
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