iMacros Folder Location Issues

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
jaygummers
Posts: 1
Joined: Thu Feb 21, 2019 6:56 am

iMacros Folder Location Issues

Post by jaygummers » Thu Feb 21, 2019 7:04 am

Code: Select all

function getiMacrosFolder(folderName)
{
	var pname;
	switch (folderName)
	{
		case "Macros" :
			pname = "defsavepath";
			break;
		case "DataSources" :
			pname = "defdatapath";
			break;
		case "Downloads" :
			pname = "defdownpath";
			break;
		case "Logs" :
			pname = "deflogpath";
			break;
		default :
			throw folderName + " is not a valid iMacros folder name";
			break;
	}
	return imns.Pref.getFilePref(pname).path;
}
Having a little issue with locating the folder. Please help me. I need to fix for the PrizeLava codes online.

Regards,
Jay
Post Reply