HAMID Posted January 11, 2011 Share Posted January 11, 2011 this is avi default icon : C:\PROGRA~1\WINDOW~2\wmplayer.exe,-120 what mean -120 ? wmplayer.exe has not icon with index -120 wmplayer.exe has not icon with index 120 how i con access to avi defaulticon ? i need to your help MiniFinder Link to comment Share on other sites More sharing options...
trancexx Posted January 11, 2011 Share Posted January 11, 2011 Does it have with name 120? Please read more than once before you answer. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Yashied Posted January 11, 2011 Share Posted January 11, 2011 If you use a negative number, it means the resource identifier. Positive - the zero based index of icon in the file. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
computergroove Posted January 11, 2011 Share Posted January 11, 2011 I don't understand what you are asking for. Are you trying to mask something other than an avi as a movie file? Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
HAMID Posted January 23, 2011 Author Share Posted January 23, 2011 please more description about icon identifire ; i want write program that extract icon of executable files ; my idea is extract icon of executabble files than run file type for example i want to extract avi icon of wmplayer i read registry for avi step 1 => HKEY_CLASSES_ROOT\.avi step 2 => HKEY_CLASSES_ROOT\AVIFile step 3 => HKEY_CLASSES_ROOT\AVIFile\DefaultIcon step 4 => HKEY_CLASSES_ROOT\AVIFile\DefaultIcon\Default = C:\PROGRA~1\WINDOW~2\wmplayer.exe,-120 i want extract avi icon of wmplayer.exe please help me MiniFinder Link to comment Share on other sites More sharing options...
HAMID Posted January 23, 2011 Author Share Posted January 23, 2011 i want extract any filetype runner Icon asa file icon = C:\Program Files\Microsoft Visual Studio\VIntDev98\bin\vidisws.dll,-307 BSC file icon = C:\PROGRA~1\MICROS~3\Common\MSDev98\Bin\msdev.exe,-20212 how i compute above numbers [ -307 , -20212 ] to access file type icon ; i'v problem with positive sign i'm sorry for my bad english MiniFinder Link to comment Share on other sites More sharing options...
Developers Jos Posted January 23, 2011 Developers Share Posted January 23, 2011 Have you read the first 2 replies which does contain the answer? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
HAMID Posted January 23, 2011 Author Share Posted January 23, 2011 i'm used of negative number, it means the resource identifier. i have problem with negative number to access icon MiniFinder Link to comment Share on other sites More sharing options...
HAMID Posted January 23, 2011 Author Share Posted January 23, 2011 yes i read but i need to example script MiniFinder Link to comment Share on other sites More sharing options...
guinness Posted January 23, 2011 Share Posted January 23, 2011 Firstly you are going to have to Search the Forum, but look for WinAPIEx.au3 and then _WinAPI_ShellExtractIcon() >> here you will see the Example! UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
HAMID Posted January 30, 2011 Author Share Posted January 30, 2011 (edited) Firstly you are going to have to Search the Forum, but look for WinAPIEx.au3 and then _WinAPI_ShellExtractIcon() >> here you will see the Example!Thanks Thanks Thanksi found it Edited February 9, 2011 by HAMID MiniFinder Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now