How to make an app - Andromo App Maker

Announcement

Collapse
No announcement yet.

FREE : Icon Object plugin

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • FREE : Icon Object plugin

    A Simple Object Plugin That Draws Windows Ico Images On An AMS Page
    This Plugin Was Suggested Here By Centauri Soldier

    Features :
    • it has two functions
    • one for load an icon from an executable
    • another for load an icon file
    • it has three standard events which are : On Enter , On Leave , On Click
    • you can easily use it , easy to use and clean

    ScreenShot : Click Here

    Download : Click Here
    amsplugins.com Is Closed.

    Facebook Page

  • #2
    Code:
    one for load an icon from an executable
    tested and fail in all exe files (only as worked in Mozilla firefox.exe ... icon index 1)...

    This is the metode included in ListBoxEx?

    thanks for the plugin

    Comment


    • #3
      Thank you reteset.

      @tomasin, have you tried diffirent bitdepths?
      Last edited by Imagine Programming; 07-13-2009, 02:45 PM.
      Bas Groothedde
      Imagine Programming :: Blog

      AMS8 Plugins
      IMXLH Compiler

      Comment


      • #4
        Man you are on a roll, Reteset...Thanks .
        Action Plugins
        AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | PCall | Project | Resize | StatusBar
        Download

        Comment


        • #5
          Originally posted by Tomasin View Post
          Code:
          one for load an icon from an executable
          tested and fail in all exe files (only as worked in Mozilla firefox.exe ... icon index 1)...

          This is the metode included in ListBoxEx?

          thanks for the plugin
          excuse me !

          if you do not know that * icon IDs properly and can not load icon
          this is not mean plugin does not work

          please try these and tell me what happens
          Code:
          result = Icon.LoadEx("Plugin1", _ProgramFilesFolder.."\\Mozilla Firefox\\firefox.exe", 32512, 32, BIT_32, false);
          result = Icon.LoadEx("Plugin2", _ProgramFilesFolder.."\\Internet Explorer\\iexplore.exe", 32528, 32, BIT_32, false);
          result = Icon.LoadEx("Plugin3", _ProgramFilesFolder.."\\AutoPlay Media Studio 7.0\\ams70.exe", 128, 32, BIT_32, false);
          and please check plugin names and file paths in above actions before try


          Note : resource IDs can also be string which is not supported by this plugin
          amsplugins.com Is Closed.

          Facebook Page

          Comment


          • #6
            Originally posted by reteset View Post
            excuse me !

            if you do not know that * icon IDs properly and can not load icon
            this is not mean plugin does not work

            please try these and tell me what happens
            Code:
            result = Icon.LoadEx("Plugin1", _ProgramFilesFolder.."\\Mozilla Firefox\\firefox.exe", 32512, 32, BIT_32, false);
            result = Icon.LoadEx("Plugin2", _ProgramFilesFolder.."\\Internet Explorer\\iexplore.exe", 32528, 32, BIT_32, false);
            result = Icon.LoadEx("Plugin3", _ProgramFilesFolder.."\\AutoPlay Media Studio 7.0\\ams70.exe", 128, 32, BIT_32, false);
            and please check plugin names and file paths in above actions before try


            Note : resource IDs can also be string which is not supported by this plugin
            Works. WinXP sp3
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment


            • #7
              I confirm this plugin as working under Windows 7 x64 (Build 7229 - Pre RTM)

              Would be cool if you found a way to get icon indexes in a numeric table, Or am I asking for too much?

              Comment


              • #8
                Most of my icons are showing up fuzzy or have little black dots around the perimeter. What might I be doing wrong?
                Action Plugins
                AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | PCall | Project | Resize | StatusBar
                Download

                Comment


                • #9
                  Originally posted by Centauri Soldier
                  Most of my icons are showing up fuzzy or have little black dots around the perimeter. What might I be doing wrong?
                  for example : if source icons are 16x16 and you draw them 48x48 or 32x32
                  this problem may occur

                  and you should set proper bit depth

                  especially if you enlarge 24 bpp icons this problem may occur

                  Originally posted by ShadowUK
                  Would be cool if you found a way to get icon indexes in a numeric table, Or am I asking for too much?
                  i am going to add a icon enumeration action to plugin soon :yes
                  amsplugins.com Is Closed.

                  Facebook Page

                  Comment


                  • #10
                    I see. Well thank you Reteset.
                    Action Plugins
                    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | PCall | Project | Resize | StatusBar
                    Download

                    Comment


                    • #11
                      Upated :

                      Version : 1.1.0.0

                      What's New :
                      • Now it supports string resource IDs
                      • A new argument added to Icon.LoadEx() for define target icon ID is a number or string
                      • New : Icon.EnumerateIcons() action added which enumerates icon IDs in a executable file and returns a numerically indexed table that contains icon IDs

                      For Example :

                      Code:
                      tblIconIDs = Icon.EnumerateIcons("Plugin1", strPath);
                      in above action if tblIconIDs is not nil
                      the tblIconIDs[1] should be main icon of target file if it is a exe

                      but this may differ for sometimes



                      Screenshot :

                      amsplugins.com Is Closed.

                      Facebook Page

                      Comment


                      • #12
                        Why icon uncorrectly displayed 16x16 from user32.dll?
                        Code:
                        result = Icon.LoadEx("Plugin1", _SystemFolder.."\\User32.dll", 101, 32, BIT_32, false, true);
                        result = Icon.LoadEx("Plugin2", _SystemFolder.."\\User32.dll", 101, 16, BIT_32, false, true);
                        Attached Files

                        Comment


                        • #13
                          Originally posted by tavria2 View Post
                          Why icon uncorrectly displayed 16x16 from user32.dll?
                          Code:
                          result = Icon.LoadEx("Plugin1", _SystemFolder.."\\User32.dll", 101, 32, BIT_32, false, true);
                          result = Icon.LoadEx("Plugin2", _SystemFolder.."\\User32.dll", 101, 16, BIT_32, false, true);
                          Is that icon available in that size?

                          Thanks for the update reteset, this is a nice plugin :yes
                          Bas Groothedde
                          Imagine Programming :: Blog

                          AMS8 Plugins
                          IMXLH Compiler

                          Comment


                          • #14
                            Originally posted by Imagine Programming View Post
                            Is that icon available in that size?
                            Yes it's available.
                            • 32x32 - 16
                            • 32x32 - 2
                            • 16x16 - 16
                            • 48x48 - 256
                            • 32x32 - 256
                            • 16x16 - 256
                            • 48x48 - 32bpp
                            • 32x32 - 32bpp
                            • 16x16 - 32bpp

                            Comment


                            • #15
                              now v1.1.0.0 works corretly :yes

                              It's possible add function for extrac icons? (in bmp, jpg, png 32x32 or 16x16)

                              THANKS

                              Comment

                              Working...
                              X