PcExpert Posted June 16, 2008 Share Posted June 16, 2008 Hi all,I'm using Extprop.au3 (http://www.autoitscript.com/forum/index.ph...st&id=20001) to get some information about a file. I want to get the Artist name and Title of the song with it. Option 10 and 16 from the include. But when I do that, I get other information. I'm using Windows Vista Business 32-Bit. any way to solve this? Thanks! Link to comment Share on other sites More sharing options...
monoceres Posted June 16, 2008 Share Posted June 16, 2008 Hi all, I'm using Extprop.au3 (http://www.autoitscript.com/forum/index.ph...st&id=20001) to get some information about a file. I want to get the Artist name and Title of the song with it. Option 10 and 16 from the include. But when I do that, I get other information. I'm using Windows Vista Business 32-Bit. any way to solve this? Thanks! Hi! When I use ExtProp.au3 I always test it on multiple files and then use _ArrayDisplay to see what the values are. I actually did the exact thing you're doing just couple of days ago and for me this worked: #include "ExtProp.au3" $array=_GetExtProperty("somefile.mp3",-1) $title=$array[21] $artist=$array[20] Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
PcExpert Posted June 16, 2008 Author Share Posted June 16, 2008 Thanks for your reply. I get the following error when I run this code: E:\Program Files\AutoIt3\Include\ExtProp.au3 (60) : ==> The requested action with this object has failed.: $oFile = $oDir.Parsename ($sFile) $oFile = $oDir.Parsename ($sFile)^ ERROR ->14:41:59 AutoIT3.exe ended.rc:1 Any solution for this? Link to comment Share on other sites More sharing options...
monoceres Posted June 16, 2008 Share Posted June 16, 2008 Thanks for your reply. I get the following error when I run this code: E:\Program Files\AutoIt3\Include\ExtProp.au3 (60) : ==> The requested action with this object has failed.: $oFile = $oDir.Parsename ($sFile) $oFile = $oDir.Parsename ($sFile)^ ERROR ->14:41:59 AutoIT3.exe ended.rc:1 Any solution for this? Yes, I forgot to mention that you cannot use relative filenames for that func, you must specify the whole path. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
PcExpert Posted June 16, 2008 Author Share Posted June 16, 2008 Thanks, works like a charm 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