AutoHotkey Community

It is currently May 26th, 2012, 10:32 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: September 4th, 2009, 10:26 pm 
Offline

Joined: August 5th, 2006, 8:34 pm
Posts: 41
This call works when done from the dos prompt, but not when called from AHK...
Code:
id3 -q "%l;%a;%t;%g;%c" "*.mp3" > temp.txt
  • I know to put ticks in front of the percent signs to escape them, and
  • I tried putting quotes around all the stuff after the command (i.e. id3), but nothing worked.
  • I also made sure my AHK file was in the ID3 folder so relative paths could be used.
  • I tried putting an ".exe" after the command as well.
  • I also tried splitting off the attributes string into a separate variable.
  • I also tried not using semi-colons as the delimiter.

Does anyone see something I missed?

(Obviously some of you don't have this particular executable, but I thought some might be able to see something for me to try right off the bat.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2009, 10:36 pm 
Online

Joined: April 8th, 2009, 7:49 pm
Posts: 6066
Location: San Diego, California
This works for me, YMMV; but I suggest you read the thread below
Code:
k = dir c:\progra~1\excel.exe >C:\found.txt

clipboard:=k

sendinput %clipboard%

send {enter}

problem with characters sent to CMD window
http://www.autohotkey.com/forum/viewtopic.php?t=48343


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2009, 11:13 pm 
Offline

Joined: April 4th, 2008, 8:15 pm
Posts: 538
Location: Canada
Doesn't even run from a batch file, that's pretty weird I think

On a side note I just made a program that does this today :lol:
Tell me if it doesn't work out for you


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2009, 11:27 pm 
Code:
MsgBox % "id3 -q ""%l;%a;%t;%g;%c"" ""*.mp3"" > temp.txt"
Run, % "id3 -q ""%l;%a;%t;%g;%c"" ""*.mp3"" > temp.txt"
:?:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2009, 11:42 pm 
Offline

Joined: April 4th, 2008, 8:15 pm
Posts: 538
Location: Canada
@Bobo - Does not produce any output

Code:
FileAppend % "id3 -q ""%l;%a;%t;%g;%c"" ""*.mp3"" > temp.txt", Run.bat
run run.bat

Temp.txt >>
Code:
a;g;c


when run from prompt
Temp.txt >>
Code:
gorillaz;Gorillaz;5/4;Other;


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2009, 4:06 am 
Offline

Joined: August 5th, 2006, 8:34 pm
Posts: 41
@PurloinedHeart, I'd love to see what you have put together. I'd like to get this working, but maybe what you have could be of help, too.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, JSLover, Leef_me, Miguel, rbrtryn and 65 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group