Permalink
Browse files

fixed custom action to behave with paths with spaces and the working …

…directory

fixes #55
  • Loading branch information...
1 parent 062cf8a commit b82ee52c5aa56508e027c7f6ca1e707ffbcf91d5 @mshorts committed Mar 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 includes/actions.ahk
View
@@ -226,7 +226,8 @@ print(file)
custom(file, destination)
{
- Run, %destination% %file%,,hide
+ SplitPath, destination,, directory
+ Run, "%destination%" "%file%", %directory%, Hide UserErrorLevel
if ErrorLevel
return ErrorLevel
else

0 comments on commit b82ee52

Please sign in to comment.