Sign in to follow this  
Followers 0
Cyote101

screen size

10 posts in this topic

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!

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Why not just make Register.exe universal?


My name is Leilani Swaey! :)

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by Cyote101

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

IF screen size is 1280x768 or less the run RegisterSmall.exe

else run RegisterLARGE.exe

That would be:

If @DesktopWidth<1280 AND @DesktopHeight<768 Then
       Run("RegisterSmall.exe")
Else
       Run("RegisterLARGE.exe")
EndIf
Edited by monoceres

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

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,

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

#9 ·  Posted (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 by Cyote101

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0