Exemplo n.º 1
0
        private void OpenHelperAppsToFindACoverImage(string dirPath)
        {
            var ahkScriptName = _appConstants.DevToolsDir + @"\AhkScripts\OpenDirAndChromeForReleaseArtwork.ahk";
            var ahkPath       = _appConstants.ToolsDir + @"\AutoHotKey\AutoHotKey.exe";
            var googleUrl     = GoogleSearchHelper.GetImgSearchUrlFor(ReleaseFromPathFactory.GetReleaseFrom(dirPath));
            var cmdArgs       = string.Concat(ahkScriptName, " \"", googleUrl, "\" \"", dirPath, "\"");

            Log.Info(cmdArgs);
            _processRunner.Exec(ahkPath, cmdArgs, _appConstants.DevToolsDir + @"\AhkScripts");
        }