Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2003
    Posts
    15

    screen resolution

    Hey to everybody!
    it is the second time I ask sth in the forum, and I am still a newbey. I want to make a project for the univercity, that analyse the screen resolution and suggest the proper one. As long as I have difficulty in understanding complex scripts, I cant think of it... could you help me somehow? I didnt find a similar ask in the forum.

    tnx for advance
    billis

  2. #2
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: screen resolution

    Here are a few threads that deal with the issue:

    http://www.indigorose.com/ubbthreads...mp;o=&vc=1

    http://www.indigorose.com/ubbthreads...mp;o=&vc=1

    http://www.indigorose.com/ubbthreads...mp;o=&vc=1

    http://www.indigorose.com/ubbthreads...mp;o=&vc=1

    Suffice it to say that this particular question comes up all the time. [img]/ubbthreads/images/icons/smile.gif[/img]
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  3. #3
    Join Date
    Mar 2003
    Posts
    15

    Re: screen resolution

    tnx for your reply!

    the artilcles you suggest cannt help since I dont know to utilize the actions GETINFORMATION(HORIZONTAL RESOLUTION/ VERTICAL RESOLUTION).

    after putting these two actions, I want to make a TRUE/FALSE condition, if the rezolution is 600x800 or not, and pop a dialogue box suggesting user changing his resolution.

    My ingnorance about scripting make it hard to connect these actions. I made the script below, that dont work (what a surprise!). It may be a kiddy script but it s all I can do.

    %resolution% = System.GetInformation("Horizontal Resolution")
    %resolution% = System.GetInformation("Vertical Resolution")
    IF(%resolution% = 600x800)
    END IF
    ELSE
    %Result% = Dialog.MessageBox ("Title","change your screen resolution to 600x800")
    END IF


    The result is a big fat yellow stinking nothing!!! Any heeeelp pleaseeeee??????????????????

  4. #4
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: screen resolution

    First of all, you need to name the variables two different things. The way you did it, the variable %resolution% gets overwritten with just Vertical Resolution.

    So, set a script up like this:

    %vres% = System.GetInformation("Vertical Resolution")
    %hres% = System.GetInformation("Horizontal Resolution")

    IF %vres% + %hres% != 1400
    %Result% = Dialog.MessageBox ("Title","change your screen resolution to 800x600")
    END IF
    ------------------------------------

    I usually build two separate projects, one at 1024x768 and one at 800x600. I build a third project that is only 1x1 pixels, and in its Project OnInitialize action list I incorporate similar script to the above functions telling it to File.Execute the appropriate project. Your method will only tell the user he/she should change their monitor resolution themselves. An autolaunching project that sniffs a user's monitor resolution and directs the appropriate sized project to run is probably a much more smooth method.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  5. #5
    Join Date
    Mar 2003
    Posts
    15

    Re: screen resolution

    tnx
    I am going to work it, and I let you know if it s ok!

  6. #6
    Join Date
    Mar 2003
    Posts
    15

    Re: screen resolution

    powerful!

    it works smooth!
    tnx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts