So something like

 Code:
select
  case screenreswidth() = 1024
    ;do stuff 1024
  case screereswidth() = 800
    ;do stuff 800
  case 1
    ; Must be using some other resolution
endselect


Just add more cases to hit all the resolutions.