Jump to content

screen size


Recommended Posts

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

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

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 by Cyote101
Link to comment
Share on other sites

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

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 by Cyote101
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...