Jump to content

ExtProp.au3 problems


Recommended Posts

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...