Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2011
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    system information and changes

    Hi,

    Now i have some work where i will be dealing with system information collection and some changes wherever possible.

    For example:

    1) Seeing system properties.
    2) seeing system resolution and sometimes changing to perticular resolution.
    3) Checking graphics properties.
    4) Rotation of screen to some standard degrees.
    5) Most of the times changing tabs from one perticular menu. eg. If we go in desktop -> properties we see tabs like Themes, Desktop, appearance and Settings.
    6) Going to control panel and accessing different options.
    7) Reading registry values and editing it.
    8) Similar things which are very easy if done through mouse and keyboard.

    However now I am supposed to do these things through perl script for automation purpose, which will be running on DOS prompt.

    Could anyone pls let me know which perl modules will be helpful for such things?

    Any other thoughts which are possible in perl?


    Thanks

  • #2
    New Coder
    Join Date
    Jan 2011
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Anyone has done similar things before?
    Any idea how can i proceed?

  • #3
    New Coder
    Join Date
    Jan 2011
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi All,

    I got some clue.
    I am able to do few things like locking of computer using Win32::API and Win32.
    Few Win32 methods doing this are LockWorkStation() etc.

    This is done as follows:

    $LockStation = new Win32::API("user32", "LockWorkStation", '', 'N');
    $LockStation -> Call();

    However I am facing problem while using similar thing for other Win32 methods like EnumDisplaySettings() and ChangeDisplaySettings().

    Any help on this is highly appreciated.

  • #4
    Super Moderator
    Join Date
    May 2005
    Location
    Southern tip of Silicon Valley
    Posts
    2,877
    Thanks
    2
    Thanked 164 Times in 159 Posts
    Your question is a little to broad and vague.

    Please post a more specific and detailed question and explain the problem. You should also post your code and any/all errors and warnings that it produces.


  •  

    Tags for this Thread

    Posting Permissions

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