capture screen resolution

2008-03-18 Thread Rocky Rockwell

Folks,

I need to capture the screen resolution (Both width and height) of a 
persons screen from the web using an active link. I can set the width 
and height in an active link, but I need it to be dynamic.


Any help will be appreciated.
--

*Rocky*

Rocky Rockwell
eMA Team – Remedy Developer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Ph#1: 214-567-8874
Ph#2: 325-884-1263

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are


Re: capture screen resolution

2008-03-18 Thread Kaiser Norm E CIV USAF 96 CS/SCCE
Try this:

Put two hidden display only fields on your form.  Then create an AL that does 
to RUN PROCESS actions.  Have the AL fire on form load or whatever event you 
like.  Then the RUN PROCESS actions should be...

javascript:window.F(536870XXX).DoSet(screen.height);

javascript:window.F(536870YYY).DoSet(screen.width);

Change the XXX and YYY values to the actual field IDs of the two hidden fields. 
 So one hidden field will capture height and the other will capture width.  
Then you can grab those values and use them in your workflow however you wish.

Norm

-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Rocky Rockwell
Sent: Tuesday, March 18, 2008 9:47 AM
To: arslist@ARSLIST.ORG
Subject: capture screen resolution

Folks,

I need to capture the screen resolution (Both width and height) of a 
persons screen from the web using an active link. I can set the width 
and height in an active link, but I need it to be dynamic.

Any help will be appreciated.
-- 

*Rocky*

Rocky Rockwell
eMA Team – Remedy Developer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Ph#1: 214-567-8874
Ph#2: 325-884-1263

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are


Re: capture screen resolution-Resolved

2008-03-18 Thread Rocky Rockwell

Thanks, I think I did everything except for putting the field id in ().

Thanks again

*Rocky*

Rocky Rockwell
eMA Team – Remedy Developer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Ph#1: 214-567-8874
Ph#2: 325-884-1263



Kaiser Norm E CIV USAF 96 CS/SCCE wrote:

Try this:

Put two hidden display only fields on your form.  Then create an AL that does 
to RUN PROCESS actions.  Have the AL fire on form load or whatever event you 
like.  Then the RUN PROCESS actions should be...

javascript:window.F(536870XXX).DoSet(screen.height);

javascript:window.F(536870YYY).DoSet(screen.width);

Change the XXX and YYY values to the actual field IDs of the two hidden fields. 
 So one hidden field will capture height and the other will capture width.  
Then you can grab those values and use them in your workflow however you wish.

Norm

-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Rocky Rockwell
Sent: Tuesday, March 18, 2008 9:47 AM
To: arslist@ARSLIST.ORG
Subject: capture screen resolution

Folks,

I need to capture the screen resolution (Both width and height) of a 
persons screen from the web using an active link. I can set the width 
and height in an active link, but I need it to be dynamic.


Any help will be appreciated.
  


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are