Having a little issue with locating the folder

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
gicubiru
Posts: 1
Joined: Wed Sep 23, 2020 8:58 am

Having a little issue with locating the folder

Post by gicubiru » Thu Sep 24, 2020 3:04 am

Please help me :oops:

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;
}
https://1080ppornlist.com
Post Reply