Jump to content

franktic

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

franktic's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Thank you Jayme. After a break from programming I went through your book again and can't recommend it enough to anyone wanting to program with Autoit. Frank
  2. Try the following. I have the test.au3 and the images.png file in the same directory. The first part of the program opens the image and displays its height. It then closes the image and reopens it to show its width. It then closes it once more. #include <GDIPlus.au3> ; Initialize GDI+ library _GDIPlus_Startup() $hImage= _GDIPlus_ImageLoadFromFile(@ScriptDir & "\images.png") MsgBox(0, "test", "Image height is " & _GDIPlus_ImageGetHeight($hImage)) _GDIPlus_ImageDispose($hImage) $hImage= _GDIPlus_ImageLoadFromFile(@ScriptDir & "\images.png") MsgBox(0, "test", "Image width is " & _GDIPlus_ImageGetWidth($hImage)) _GDIPlus_ImageDispose($hImage) test.au3
  3. Hi ZTG, You need to configure the extension. I use 4ern in Visual code and when clicking the square extension box I see: The cogged wheel will take you to the configuration menu. From there you get to change paths for Autoit3.exe, the help path, the info path, and all the other tools you need.
×
×
  • Create New...