ÿþ dll= file= If !file or !dll { FileSelectFile,dll,,,Select AudioGenie3.dll,AudioGenie3.dll FileSelectFile,file,,,Select an mp3 file,*.mp3 } ag3:=Audiogenie3(dll) ag3.AUDIOAnalyzeFileW(file) MsgBox % "Version: " ag3.ID3V2GetVersionW() . "`nTitle: " ag3.ID3V1GetTitleW() . "`nYear: " ag3.ID3V1GetYearW() AudioGenie3(dll){ static local v,v1,v2 static ResourceLoadLibrary:="ResourceLoadLibrary" static functions:="AACGetBitRateTypeW:s=|AACGetHeaderTypeW:s=|AACGetProfileW:s=|APEGetAlbumW:s=|APEGetArtistW:s=|APEGetCommentW:s=|APEGetCopyrightW:s=|APEGetGenreW:s=|APEGetItemKeysW:s=|APEGetTitleW:s=|APEGetTrackW:s=|APEGetUserItemW:s=w|APEGetVersionW:s=|APEGetYearW:s=|AUDIOGetAlbumW:s=|AUDIOGetArtistW:s=|AUDIOGetChannelModeW:s=|AUDIOGetCommentW:s=|AUDIOGetGenreW:s=|AUDIOGetLastErrorTextW:s=|AUDIOGetLastFileW:s=|AUDIOGetMD5ValueW:s=|AUDIOGetTitleW:s=|AUDIOGetTrackW:s=|AUDIOGetVersionW:s=|AUDIOGetYearW:s=|FLACGetAlbumW:s=|FLACGetArtistW:s=|FLACGetCommentW:s=|FLACGetContactW:s=|FLACGetCopyrightW:s=|FLACGetDateW:s=|FLACGetDescriptionW:s=|FLACGetGenreW:s=|FLACGetISRCW:s=|FLACGetItemKeysW:s=|FLACGetLicenseW:s=|FLACGetLocationW:s=|FLACGetOrganizationW:s=|FLACGetPerformerW:s=|FLACGetTitleW:s=|FLACGetTrackW:s=|FLACGetUserItemW:s=w|FLACGetVendorW:s=|FLACGetVersionW:s=|GetAudioGenieVersionW:s=|GetMD5ValueFromFileW:s=w|ID3V1GetAlbumW:s=|ID3V1GetArtistW:s=|ID3V1GetCommentW:s=|ID3V1GetGenreItemW:s=h|ID3V1GetGenreW:s=|ID3V1GetTitleW:s=|ID3V1GetTrackW:s=|ID3V1GetVersionW:s=|ID3V1GetYearW:s=|ID3V2GetAddendumDescriptionW:s=w|ID3V2GetAddendumTitleW:s=w|ID3V2GetAllFrameIDsW:s=|ID3V2GetAudioEncryptionURLW:s=h|ID3V2GetChildElementIDW:s=wh|ID3V2GetCommentDescriptionW:s=h|ID3V2GetCommentLanguageW:s=h|ID3V2GetCommentW:s=h|ID3V2GetCommercialFrameContactURLW:s=h|ID3V2GetCommercialFrameDescriptionW:s=h|ID3V2GetCommercialFramePictureMimeW:s=h|ID3V2GetCommercialFramePriceW:s=h|ID3V2GetCommercialFrameSellerNameW:s=h|ID3V2GetCommercialFrameValidUntilW:s=h|ID3V2GetEncryptionURLW:s=h|ID3V2GetEqualisationIdentificationW:s=h|ID3V2GetGeneralObjectDescriptionW:s=h|ID3V2GetGeneralObjectFilenameW:s=h|ID3V2GetGeneralObjectMimeW:s=h|ID3V2GetGenreW:s=|ID3V2GetGroupIdentificationURLW:s=h|ID3V2GetLinkedInformationAdditionalDataW:s=h|ID3V2GetLinkedInformationURLW:s=h|ID3V2GetLyricDescriptionW:s=h|ID3V2GetLyricLanguageW:s=h|ID3V2GetLyricW:s=h|ID3V2GetOwnershipDateW:s=|ID3V2GetOwnershipPriceW:s=|ID3V2GetOwnershipSellerW:s=|ID3V2GetPictureDescriptionW:s=h|ID3V2GetPictureMimeW:s=h|ID3V2GetPictureTypeTextW:s=h|ID3V2GetPopularimeterEmailW:s=h|ID3V2GetPossibleCHAPIDW:s=|ID3V2GetPossibleTOCIDW:s=|ID3V2GetPrivateFrameURLW:s=h|ID3V2GetRelativeVolumeAdjustmentIdentifierW:s=h|ID3V2GetSubFrameDescriptionW:s=wh|ID3V2GetSubFrameTextW:s=wh|ID3V2GetSyncLyricDescriptionW:s=h|ID3V2GetSyncLyricLanguageW:s=h|ID3V2GetSyncLyricW:s=h|ID3V2GetTextFrameW:s=ui|ID3V2GetTOCRootIDW:s=|ID3V2GetUniqueFileIdentifierOwnerW:s=h|ID3V2GetURLFrameW:s=ui|ID3V2GetUserFrameLanguageW:s=h|ID3V2GetUserFrameW:s=h|ID3V2GetUserTextDescriptionW:s=h|ID3V2GetUserTextW:s=h|ID3V2GetUserURLDescriptionW:s=h|ID3V2GetUserURLW:s=h|ID3V2GetVersionW:s=|LYRICSGetAlbumW:s=|LYRICSGetArtistW:s=|LYRICSGetAuthorW:s=|LYRICSGetGenreW:s=|LYRICSGetImageLinkW:s=|LYRICSGetIndicationW:s=|LYRICSGetInformationW:s=|LYRICSGetLyricsW:s=|LYRICSGetTitleW:s=|LYRICSGetVersionW:s=|MONKEYGetCompressionW:s=|MP4GetGenreW:s=|MP4GetTextFrameW:s=ui|MP4GetTrackW:s=|MPEGGetEmphasisW:s=|MPEGGetEncoderW:s=|MPEGGetLayerW:s=|MPEGGetVersionW:s=|OGGGetAlbumW:s=|OGGGetArtistW:s=|OGGGetCommentW:s=|OggGetContactW:s=|OGGGetCopyrightW:s=|OGGGetDateW:s=|OGGGetDescriptionW:s=|OGGGetGenreW:s=|OGGGetISRCW:s=|OGGGetItemKeysW:s=|OGGGetLicenseW:s=|OGGGetLocationW:s=|OGGGetOrganizationW:s=|OGGGetPerformerW:s=|OGGGetTitleW:s=|OGGGetTrackW:s=|OGGGetUserItemW:s=w|OGGGetVendorW:s=|OGGGetVersionW:s=|WAVGetFormatW:s=|WAVGetTextFrameW:s=ui|WMAGetAlbumArtistW:s=|WMAGetAlbumW:s=|WMAGetArtistW:s=|WMAGetAuthorURLW:s=|WMAGetBeatsPerMinuteW:s=|WMAGetCategoryW:s=|WMAGetCommentW:s=|WMAGetComposerW:s=|WMAGetConductorW:s=|WMAGetContentGroupDescriptionW:s=|WMAGetCopyrightW:s=|WMAGetDistributorW:s=|WMAGetEncodedByW:s=|WMAGetEncodingSettingsW:s=|WMAGetEncodingTimeW:s=|WMAGetGenreW:s=|WMAGetInitialKeyW:s=|WMAGetISRCW:s=|WMAGetItemKeysW:s=|WMAGetLanguageW:s=|WMAGetLyricsW:s=|WMAGetMoodW:s=|WMAGetParentalRatingW:s=|WMAGetPartOfSetW:s=|WMAGetPeriodW:s=|WMAGetPictureDescriptionW:s=h|WMAGetPictureMimeW:s=h|WMAGetProducerW:s=|WMAGetPromotionURLW:s=|WMAGetProviderW:s=|WMAGetPublisherW:s=|WMAGetRatingW:s=|WMAGetTitleW:s=|WMAGetToolNameW:s=|WMAGetToolVersionW:s=|WMAGetTrackNumberW:s=|WMAGetUserItemW:s=w|WMAGetUserWebURLW:s=|WMAGetWriterW:s=|WMAGetYearW:s=|AUDIOGetDurationW:f=|FLACGetCompressionRatioW:f=|MONKEYGetCompressionRatioW:f=|MONKEYGetPeakW:f=|APEGetSizeW:=|AUDIOGetBitrateW:=|AUDIOGetChannelsW:=|AUDIOGetDurationMillisW:=|AUDIOGetFileSizeW:=|AUDIOGetLastErrorNumberW:=|AUDIOGetSampleRateW:=|FLACGetBitsPerSampleW:=|FLACGetMaxBlockSizeW:=|FLACGetMaxFrameSizeW:=|FLACGetMinBlockSizeW:=|FLACGetMinFrameSizeW:=|FLACGetSamplesW:=|GetConfigValueW:=ui|ID3V2GetAudioEncryptionDataW:=ucuih|ID3V2GetAudioSeekPointBitsPerIndexpointW:=|ID3V2GetAudioSeekPointDataW:=ucui|ID3V2GetAudioSeekPointLengthW:=|ID3V2GetAudioSeekPointNumberW:=|ID3V2GetAudioSeekPointStartW:=|ID3V2GetCommercialFramePictureW:=ucuih|ID3V2GetEncryptionDataW:=ucuih|ID3V2GetEqualisationDataW:=ucuih|ID3V2GetEventTimingCodesDataW:=ucui|ID3V2GetGeneralObjectDataW:=ucuih|ID3V2GetGroupIdentificationDataW:=ucuih|ID3V2GetLinkedInformationFrameIdentifierW:=h|ID3V2GetMpegLocationLookupTableBytesDeviationW:=|ID3V2GetMpegLocationLookupTableBytesW:=|ID3V2GetMpegLocationLookupTableDataW:=ucui|ID3V2GetMpegLocationLookupTableFramesW:=|ID3V2GetMpegLocationLookupTableMillisecondsDeviationW:=|ID3V2GetMpegLocationLookupTableMillisecondsW:=|ID3V2GetMusicCdIdentifierDataW:=ucui|ID3V2GetPictureArrayW:=ucuih|ID3V2GetPlayCounterW:=|ID3V2GetPopularimeterCounterW:=h|ID3V2GetPositionSynchronisationValueW:=|ID3V2GetPrivateFrameDataW:=ucuih|ID3V2GetRecommendedBufferSizeOffsetW:=|ID3V2GetRecommendedBufferSizeValueW:=|ID3V2GetRelativeVolumeAdjustmentDataW:=ucuih|ID3V2GetSeekOffsetW:=|ID3V2GetSignatureFrameDataW:=ucuih|ID3V2GetSizeW:=|ID3V2GetSubFrameImageW:=ucuiwh|ID3V2GetSynchronizedTempoDataW:=ucui|ID3V2GetUniqueFileIdentifierDataW:=ucuih|LYRICSGetSizeW:=|LYRICSGetStartPositionW:=|MONKEYGetFramesW:=|MONKEYGetSamplesPerFrameW:=|MONKEYGetSamplesW:=|MP4GetPictureArrayW:=ucuih|MP4GetPictureCountW:=|MPEGGetFramePositionW:=|MPEGGetFrameSizeW:=|MPEGGetFramesW:=|MPPGetFramesW:=|OGGGetBitRateNominalW:=|WAVGetBitsPerSampleW:=|WAVGetBlockAlignW:=|WAVGetBytesPerSecondW:=|WAVGetChannelsW:=|WAVGetHeaderSizeW:=|WMAGetPictureArrayW:=ucuih|APEExistsW:h=|APERemoveTagFromFileW:h=w|APERemoveTagW:h=|APESaveChangesToFileW:h=w|APESaveChangesW:h=|AUDIOAnalyzeFileW:h=w|AUDIOFormatIsValidW:h=|AUDIOSaveChangesToFileW:h=w|AUDIOSaveChangesW:h=|FLACSaveChangesToFileW:h=w|FLACSaveChangesW:h=|ID3V1ExistsW:h=|ID3V1GetGenreIDW:h=|ID3V1GetGenresW:h=|ID3V1RemoveTagFromFileW:h=w|ID3V1RemoveTagW:h=|ID3V1SaveChangesToFileW:h=w|ID3V1SaveChangesW:h=|ID3V2AddAudioEncryptionW:h=ucuiwhh|ID3V2AddAudioSeekPointW:h=ucuihuc|ID3V2AddChapterW:h=wwwuiui|ID3V2AddChildElementW:h=ww|ID3V2AddCommentW:h=www|ID3V2AddCommercialFrameW:h=ucuiwwwhwww|ID3V2AddEncryptionW:h=ucuiwh|ID3V2AddEqualisationW:h=ucuiucw|ID3V2AddEventTimingCodesW:h=ucuiuc|ID3V2AddGeneralObjectW:h=ucuiwww|ID3V2AddGroupIdentificationW:h=ucuiwuc|ID3V2AddLinkedInformationW:h=ww|ID3V2AddLyricW:h=www|ID3V2AddMpegLocationLookupTableW:h=ucuiucuc|ID3V2AddMusicCdIdentifierW:h=ucui|ID3V2AddOwnershipW:h=www|ID3V2AddPictureArrayW:h=ucuiwh|ID3V2AddPictureFileW:h=wwhh|ID3V2AddPopularimeterW:h=wh|ID3V2AddPositionSynchronisationW:h=uc|ID3V2AddPrivateFrameW:h=ucuiw|ID3V2AddRecommendedBufferSizeW:h=uc|ID3V2AddRelativeVolumeAdjustmentW:h=ucuiw|ID3V2AddReverbW:h=hhucucucucucucucuc|ID3V2AddSeekOffsetW:h=|ID3V2AddSignatureFrameW:h=ucuih|ID3V2AddSynchronizedTempoW:h=ucuih|ID3V2AddSyncLyricW:h=wwwhh|ID3V2AddTableOfContentW:h=wwwh|ID3V2AddUniqueFileIdentifierW:h=ucuiw|ID3V2AddUserFrameW:h=ww|ID3V2AddUserTextW:h=ww|ID3V2AddUserURLW:h=ww|ID3V2DeleteAddendumW:h=w|ID3V2DeleteAllFramesW:h=ui|ID3V2DeleteChildElementW:h=ww|ID3V2DeleteSelectedFrameW:h=uih|ID3V2DeleteSubFrameW:h=w|ID3V2ExistsW:h=|ID3V2GetAddendumTypeW:h=w|ID3V2GetAudioEncryptionPreviewLengthW:h=h|ID3V2GetAudioEncryptionPreviewStartW:h=h|ID3V2GetChildElementsW:h=w|ID3V2GetCommercialFrameReceivedAsW:h=h|ID3V2GetEncryptionSymbolW:h=h|ID3V2GetEqualisationAdjustmentBitsW:h=h|ID3V2GetEqualisationInterpolationW:h=h|ID3V2GetEventTimingCodesTimestampFormatW:h=|ID3V2GetFrameCountW:h=ui|ID3V2GetGroupIdentificationSymbolW:h=h|ID3V2GetPictureFileW:h=hw|ID3V2GetPictureTypeW:h=h|ID3V2GetPopularimeterRatingW:h=h|ID3V2GetPositionSynchronisationTimestampFormatW:h=|ID3V2GetRecommendedBufferSizeFlagW:h=|ID3V2GetReverbBouncesLeftW:h=|ID3V2GetReverbBouncesRightW:h=|ID3V2GetReverbFeedbackLeftToLeftW:h=|ID3V2GetReverbFeedbackLeftToRightW:h=|ID3V2GetReverbFeedbackRightToLeftW:h=|ID3V2GetReverbFeedbackRightToRightW:h=|ID3V2GetReverbLeftW:h=|ID3V2GetReverbPremixLeftToRightW:h=|ID3V2GetReverbPremixRightToLeftW:h=|ID3V2GetReverbRightW:h=|ID3V2GetSignatureFrameGroupSymbolW:h=h|ID3V2GetSubFrameImageTypeW:h=wh|ID3V2GetSubFramesW:h=w|ID3V2GetSubFrameTypeW:h=wh|ID3V2GetSynchronizedTempoFormatW:h=|ID3V2GetSyncLyricContentTypeW:h=h|ID3V2GetSyncLyricTimeFormatW:h=h|ID3V2GetTOCIsOrderedW:h=w|ID3V2ImportCueFileW:h=w|ID3V2RemoveTagFromFileW:h=w|ID3V2RemoveTagW:h=|ID3V2SaveChangesToFileW:h=w|ID3V2SaveChangesW:h=|ID3V2SetAddendumDescriptionW:h=ww|ID3V2SetAddendumTitleW:h=ww|ID3V2SetChapterTimesW:h=wuiui|ID3V2SetFormatAndEncodingW:h=|ID3V2SetImageSubFrameW:h=ucuiwwh|ID3V2SetTextSubFrameW:h=www|ID3V2SetTOCIsOrderedW:h=wh|ID3V2SetURLSubFrameW:h=www|LYRICSExistsW:h=|LYRICSRemoveTagFromFileW:h=w|LYRICSRemoveTagW:h=|LYRICSSaveChangesToFileW:h=w|LYRICSSaveChangesW:h=|MONKEYGetBitsW:h=|MP4AddPictureArrayW:h=ucui|MP4AddPictureFileW:h=w|MP4GetPictureFileW:h=wh|MP4SaveChangesToFileW:h=w|MP4SaveChangesW:h=|MPEGIsCopyrightedW:h=|MPEGIsOriginalW:h=|MPEGIsPaddingW:h=|MPEGIsPrivateW:h=|MPEGIsProtectedW:h=|MPEGIsVBRW:h=|MPEGModifyCopyrightBitW:h=wh|MPEGModifyOriginalBitW:h=wh|MPEGModifyPrivateBitW:h=wh|MPPGetStreamVersionW:h=|OGGRemoveTagFromFileW:h=w|OGGRemoveTagW:h=|OGGSaveChangesToFileW:h=w|OGGSaveChangesW:h=|WAVGetFormatIDW:h=|WMADeletePictureW:h=h|WMAGetPictureFileW:h=hw|WMAGetPicturesW:h=|WMAGetPictureTypeW:h=h|WMASaveChangesToFileW:h=w|WMASaveChangesW:h=|WMASetPictureArrayW:h=ucuiwhh|WMASetPictureFileW:h=wwhh|ID3V2GetChapterEndTimeW:ui=w|ID3V2GetChapterStartTimeW:ui=w|ID3V2GetSubFrameIDW:ui=wh|APESetAlbumW:ui=w|APESetArtistW:ui=w|APESetCommentW:ui=w|APESetCopyrightW:ui=w|APESetGenreW:ui=w|APESetTitleW:ui=w|APESetTrackW:ui=w|APESetUserItemW:ui=ww|APESetYearW:ui=w|AUDIOSetAlbumW:ui=w|AUDIOSetArtistW:ui=w|AUDIOSetCommentW:ui=w|AUDIOSetGenreW:ui=w|AUDIOSetTitleW:ui=w|AUDIOSetTrackW:ui=w|AUDIOSetYearW:ui=w|DisablePopupKeyW:ui=w|FLACSetAlbumW:ui=w|FLACSetArtistW:ui=w|FLACSetCommentW:ui=w|FLACSetContactW:ui=w|FLACSetCopyrightW:ui=w|FLACSetDateW:ui=w|FLACSetDescriptionW:ui=w|FLACSetGenreW:ui=w|FLACSetISRCW:ui=w|FLACSetLicenseW:ui=w|FLACSetLocationW:ui=w|FLACSetOrganizationW:ui=w|FLACSetPerformerW:ui=w|FLACSetTitleW:ui=w|FLACSetTrackW:ui=w|FLACSetUserItemW:ui=ww|FLACSetVendorW:ui=w|FLACSetVersionW:ui=w|ID3V1SetAlbumW:ui=w|ID3V1SetArtistW:ui=w|ID3V1SetCommentW:ui=w|ID3V1SetGenreIDW:ui=h|ID3V1SetGenreW:ui=w|ID3V1SetTitleW:ui=w|ID3V1SetTrackW:ui=w|ID3V1SetYearW:ui=w|ID3V2SetGenreW:ui=w|ID3V2SetPlayCounterW:ui=|ID3V2SetTextFrameW:ui=uiw|ID3V2SetURLFrameW:ui=uiw|LYRICSSetAlbumW:ui=w|LYRICSSetArtistW:ui=w|LYRICSSetAuthorW:ui=w|LYRICSSetGenreW:ui=w|LYRICSSetImageLinkW:ui=w|LYRICSSetIndicationW:ui=w|LYRICSSetInformationW:ui=w|LYRICSSetLyricsW:ui=w|LYRICSSetTitleW:ui=w|MP4SetGenreW:ui=w|MP4SetTextFrameW:ui=uiw|MP4SetTrackW:ui=w|OGGSetAlbumW:ui=w|OGGSetArtistW:ui=w|OGGSetCommentW:ui=w|OggSetContactW:ui=w|OGGSetCopyrightW:ui=w|OGGSetDateW:ui=w|OGGSetDescriptionW:ui=w|OGGSetGenreW:ui=w|OGGSetISRCW:ui=w|OGGSetLicenseW:ui=w|OGGSetLocationW:ui=w|OGGSetOrganizationW:ui=w|OGGSetPerformerW:ui=w|OGGSetTitleW:ui=w|OGGSetTrackW:ui=w|OGGSetUserItemW:ui=ww|OGGSetVendorW:ui=w|OGGSetVersionW:ui=w|SetConfigValueW:ui=uiui|SetLogFileW:ui=w|WAVSetTextFrameW:ui=uiw|WMADeletePicturesW:ui=|WMASetAlbumArtistW:ui=w|WMASetAlbumW:ui=w|WMASetArtistW:ui=w|WMASetAuthorURLW:ui=w|WMASetBeatsPerMinuteW:ui=w|WMASetCategoryW:ui=w|WMASetCommentW:ui=w|WMASetComposerW:ui=w|WMASetConductorW:ui=w|WMASetContentGroupDescriptionW:ui=w|WMASetCopyrightW:ui=w|WMASetDistributorW:ui=w|WMASetEncodedByW:ui=w|WMASetEncodingSettingsW:ui=w|WMASetEncodingTimeW:ui=w|WMASetGenreW:ui=w|WMASetInitialKeyW:ui=w|WMASetISRCW:ui=w|WMASetLanguageW:ui=w|WMASetLyricsW:ui=w|WMASetMoodW:ui=w|WMASetParentalRatingW:ui=w|WMASetPartOfSetW:ui=w|WMASetPeriodW:ui=w|WMASetProducerW:ui=w|WMASetPromotionURLW:ui=w|WMASetProviderW:ui=w|WMASetPublisherW:ui=w|WMASetRatingW:ui=w|WMASetTitleW:ui=w|WMASetToolNameW:ui=w|WMASetToolVersionW:ui=w|WMASetTrackNumberW:ui=w|WMASetUserItemW:ui=ww|WMASetUserWebURLW:ui=w|WMASetWriterW:ui=w|WMASetYearW:ui=w" If !(dll){ Loop % i DllCall("FreeLibrary","Str",dllmodule%A_Index%), obj%A_Index%:="",dll%A_Index%:="",dllmodule%A_Index%:="" i=0 return } else if (!FileExist(dll) && !A_IsCompiled){ MsgBox File: %dll%`ndoes not exist`, provide correct path for AudioGenie3.dll ExitApp } i++ dllmodule%i%:=DllCall("LoadLibrary","Str",dll) object := Object() Loop,Parse,functions,| { StringSplit,v,A_LoopField,: object[v1]:=DynaCall(dll . "\" v1,v2) } obj%i%:=object dll%i%:=dll return obj%i% }