anixon Posted January 19, 2007 Share Posted January 19, 2007 (edited) I am trying to flash a message on the screen at the same location irrespective of whether the computers screen is 15" , 17" or 22" CODEflashaf() Func flashaf() while 1 $size = WinGetClientSize("") $plmaf = @scriptdir & "\logogrn.jpg" SplashImageOn("", $plmaf,30,30,($size[0]- 60),($size[1] - 20),1) Sleep(400) SplashOff() $plmaf = @scriptdir & "\logoblink.jpg" SplashImageOn("", $plmaf,30,30,($size[0]- 60),($size[1] - 20),1) SplashOff() WEnd EndFunc This code does not maintain the flashing message at the same location with different screen sizes. Can anyone help thanks Ant...... Edited January 19, 2007 by anixon Link to comment Share on other sites More sharing options...
McGod Posted January 19, 2007 Share Posted January 19, 2007 Try: @DesktopWidth @DesktopHeight [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
anixon Posted January 19, 2007 Author Share Posted January 19, 2007 Try:@DesktopWidth@DesktopHeightThanks for the very prompt help it was more than appreciated initial tests would indicate that it will solve my issue. Cheers Ant.. 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