Jump to content

gazrat

Members
  • Posts

    6
  • Joined

  • Last visited

gazrat's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Damn, thought that might be the answer but can't hurt to ask. Have to see if I can figure out another way to disable the commands within the toolbar Thanks...
  2. Is there any way to find out a Control classname other than using Window Spy ? I'm trying to find out what one of the controls within Window Picture Viewer is. The only control is 'ToolbarWindow321'. Using ControlDisable on this disables all controls. I only need to disable one. Pixel Color and Mouse Position are of no use as these will change depending on the image viewed. Any ideas ?
  3. Yes, sorry meant the toolbutton controls. ControlDisable might work, unfortuately Window Spy only reports the classname for the whole Picture Viewer app. I also have a feeling that MS have used something other than the standard controls to make Picture Viewer work. How do I find out the specific control for 'Next Image' and I'll see if I can disable it ?
  4. Hi, Not sure if this is possible but hopefully someone will be able to help. I'm looking to disable certain toolbar icons/commands in the Windows Picture and Fax Viewer using a AutoIt script. Specfically the 'Next Image' 'Previous Image' and 'Editing' icons/commands. I've tried using the Window Spy utility to capture these areas but the position of the icons changes depending on the size of the image being viewed. Also, Window Spy is not able to give me any specific data on just those icons. I've been able to disable the 'Delete' and 'Copy to' commands by closing the Windows they open as soon as they appear. However, I can't figure out a way to stop these other commands. We are looking at using the Viewer so it ONLY views the specific image that has been opened and no changes can be made to it. Anyone got any ideas ???
  5. Perfect ! Thanks, Much Appreciated...
  6. Hi, I'm looking to use AutoIt to create an .exe which will open Windows XP Picture viewer with a graphics file. Eg, pictureview.exe graphic.tif pictureview.exe graphic.bmp The problem I'm having is the command within Windows XP to launch Picture Viewer with an argument is rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1 I can get AutoIt to launch a blank Picture Viewer using Run ( 'rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen' ) I can't figure out how to pass the argument %1 through to AutoIt so that the graphic file specified after the .exe opens. When I use Run ( 'rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1' ) nothing happens. No Picture Viewer at all. Anyone got any ideas ? I'm hoping that it can actually be done with AutoIt but I'm not sure if the way Windows use the Picture Viewer allows it. Help.....
×
×
  • Create New...