| View previous topic :: View next topic |
| Author |
Message |
acowbear
Joined: 14 May 2006 Posts: 45
|
Posted: Sat May 03, 2008 2:54 pm Post subject: Trouble using ImageMagick command line with ahk |
|
|
When I type this directly into the CMD...
convert "C:\Documents and Settings\gman\Desktop\Image Majic\1.jpg" "C:\Documents and Settings\gman\Desktop\Image Majic\3.bmp"
It uses image magic to convert the jpg just fine
BUT when I try to do it through an ahk script like this...
| Code: |
CommandToSend=
(
convert "C:\Documents and Settings\gman\Desktop\Image Majic\1.jpg" "C:\Documents and Settings\gman\Desktop\Image Majic\3.bmp"
)
Runwait, %CommandToSend%,,
|
Nothing Happens. What am I doing wrong? |
|
| Back to top |
|
 |
garry
Joined: 19 Apr 2005 Posts: 2212 Location: switzerland
|
Posted: Sat May 03, 2008 5:11 pm Post subject: |
|
|
for me in XP the command convert is used to convert FAT to NTFS
use if you are in image magic folder
run,%compec% /C %commandtosend%
| Quote: | Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und Einstellungen\Administrator>convert /?
Konvertiert FAT-Volumes in NTFS.
CONVERT Volume /FS:NTFS [/V] [/CvtArea:Dateiname] [/NoSecurity] [/X]
|
|
|
| Back to top |
|
 |
acowbear
Joined: 14 May 2006 Posts: 45
|
Posted: Sat May 03, 2008 7:42 pm Post subject: |
|
|
| Sweet!! It works now! Thanks! |
|
| Back to top |
|
 |
|