Cyote101 Posted March 28, 2008 Share Posted March 28, 2008 hello, I'm trying to make a splash screen for my customers to remind them to register. Now I have been looking in the help files and I would not find any functions for screen resolution. But i know someone out there does. Any help on this would be great! Link to comment Share on other sites More sharing options...
Toady Posted March 28, 2008 Share Posted March 28, 2008 These wont work? @DesktopHeight @DesktopWidth www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
Cyote101 Posted March 28, 2008 Author Share Posted March 28, 2008 These wont work? @DesktopHeight @DesktopWidth Well they may, I'm sorry i dod not know how to use them. I'm trying to make a splash screen but some people have different size screens so I trying to make an if argument of some sort that is something like this. IF screen size is 1280x768 or less the run RegisterSmall.exe else run RegisterLARGE.exe Thanks Link to comment Share on other sites More sharing options...
PumpkinJuice Posted March 28, 2008 Share Posted March 28, 2008 Why not just make Register.exe universal? My name is Leilani Swaey! :) Link to comment Share on other sites More sharing options...
Cyote101 Posted March 28, 2008 Author Share Posted March 28, 2008 (edited) Why not just make Register.exe universal?Ya That's what I have now, I was just looking into making it custom, the benefits of such would be a full screen splash screen with REGISTER on it. Thanks Edited March 28, 2008 by Cyote101 Link to comment Share on other sites More sharing options...
monoceres Posted March 28, 2008 Share Posted March 28, 2008 (edited) IF screen size is 1280x768 or less the run RegisterSmall.exe else run RegisterLARGE.exeThat would be: If @DesktopWidth<1280 AND @DesktopHeight<768 Then Run("RegisterSmall.exe") Else Run("RegisterLARGE.exe") EndIf Edited March 28, 2008 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Cyote101 Posted March 28, 2008 Author Share Posted March 28, 2008 That would be: If @DesktopWidth<1280 AND @DesktopHeight<768 Then Run("RegisterSmall.exe") Else Run("RegisterLARGE.exe") EndIf Thanks, I compiled it and i get an error "Unable to run the external program". How can i fix this? Thanks, Link to comment Share on other sites More sharing options...
Swift Posted March 28, 2008 Share Posted March 28, 2008 Thanks, I compiled it and i get an error "Unable to run the external program". How can i fix this?Thanks,Did you put your RegisterSmall.exe and registerLarge in the same directory as this? Link to comment Share on other sites More sharing options...
Cyote101 Posted March 28, 2008 Author Share Posted March 28, 2008 (edited) I got this to work, but i would like to know how i can get it to work by searching the directory of the Screen Test.exe instead, The Current Directory, the one Sceen Test.exe is running from. If @DesktopWidth<1280 AND @DesktopHeight<768 Then Run("1.exe", "C:\Documents and Settings\ADMIN\Desktop\EDITION\MENUS\Please REgister", @SW_MAXIMIZE) Else Run("2.exe", "C:\Documents and Settings\ADMIN\Desktop\EDITION\MENUS\Please REgister", @SW_MAXIMIZE) EndIf Thanks Edited March 28, 2008 by Cyote101 Link to comment Share on other sites More sharing options...
Cyote101 Posted March 28, 2008 Author Share Posted March 28, 2008 nevermind I got it to work. Thanks Though. If @DesktopWidth<1280 AND @DesktopHeight<768 Then Run("1.exe", @WorkingDir, @SW_MAXIMIZE) Else Run("2.exe", @WorkingDir, @SW_MAXIMIZE) EndIf 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