Forum Discussion
AlexeyKryuchkov
13 years agoSmartBear Alumni (Retired)
Hi Krushna,
The mm.cfg file is required and needs to be created and configured manually if it hasn't been done automatically.
The instructions from the "Configuring Adobe Flash Player for Using FlashInjector" help topic are all you need to follow to make the flashinjector.swf movie work in the needed way. However, in some cases, configuring Flash Player using the routines below is easier. If you execute them without interruption, they will log information about the needed configurations:
The mm.cfg file is required and needs to be created and configured manually if it hasn't been done automatically.
The instructions from the "Configuring Adobe Flash Player for Using FlashInjector" help topic are all you need to follow to make the flashinjector.swf movie work in the needed way. However, in some cases, configuring Flash Player using the routines below is easier. If you execute them without interruption, they will log information about the needed configurations:
//============= For Internet Explorer =======================
function collectFlashInjectorConfigurationIE()
{
Sys.OleObject("WScript.Shell").Run("iexplore.exe");
var iexplore = Sys.Process("iexplore");
Log.Message("Information will be collected using " + iexplore.ProcessName + " " + iexplore.FileVersionInfo);
var versionPage = "http://kb2.adobe.com/cps/155/tn_15507.html";
iexplore.ToUrl(versionPage);
Delay (15000);
Log.Picture(iexplore.Page(versionPage).Picture(), versionPage);
var globalSecuritySettings = "http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html";
iexplore.ToUrl(globalSecuritySettings);
Delay (15000);
Log.Picture(iexplore.Page(globalSecuritySettings).Picture(), globalSecuritySettings);
var HOMEDRIVE = aqEnvironment.GetEnvironmentVariable("HOMEDRIVE");
var HOMEPATH = aqEnvironment.GetEnvironmentVariable("HOMEPATH");
var mmcfg = HOMEDRIVE + HOMEPATH + "\\mm.cfg";
if (aqFileSystem.Exists(mmcfg))
{
Log.Message("The mm.cfg file was found in the " + HOMEDRIVE + HOMEPATH + " folder. The file's contents can be found in the Additional Information panel.", aqFile.OpenTextFile(mmcfg, aqFile.faRead, aqFile.ctUTF8).ReadAll());
} else
{
Log.Warning("The mm.cfg file was not found in the " + HOMEDRIVE + HOMEPATH + " folder.");
}
Log.Message("OS: " + Sys.OSInfo.FullName);
}
//============= For Firefox ===============
function collectFlashInjectorConfigurationFF()
{
Sys.OleObject("WScript.Shell").Run("firefox.exe");
var firefox = Sys.Process("firefox");
Log.Message("Information will be collected using " + firefox.AppInfo.name + " " + firefox.AppInfo.version);
var versionPage = "http://kb2.adobe.com/cps/155/tn_15507.html";
firefox.ToUrl(versionPage);
Delay (15000);
Log.Picture(firefox.Page(versionPage).Picture(), versionPage);
var globalSecuritySettings = "http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html";
firefox.ToUrl(globalSecuritySettings);
Delay (15000);
Log.Picture(firefox.Page(globalSecuritySettings).Picture(), globalSecuritySettings);
var HOMEDRIVE = aqEnvironment.GetEnvironmentVariable("HOMEDRIVE");
var HOMEPATH = aqEnvironment.GetEnvironmentVariable("HOMEPATH");
var mmcfg = HOMEDRIVE + HOMEPATH + "\\mm.cfg";
if (aqFileSystem.Exists(mmcfg))
{
Log.Message("The mm.cfg file was found in the " + HOMEDRIVE + HOMEPATH + " folder. The file's contents can be found in the Additional Information panel.", aqFile.OpenTextFile(mmcfg, aqFile.faRead, aqFile.ctUTF8).ReadAll());
} else
{
Log.Warning("The mm.cfg file was not found in the " + HOMEDRIVE + HOMEPATH + " folder.");
}
Log.Message("OS: " + Sys.OSInfo.FullName);
}
Related Content
- 13 years ago
- 11 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago