Cannot run certain .js files

Discussions and Tech Support specific to the iMacros Firefox add-on.
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
Posts: 13
Joined: Sat Jan 20, 2007 9:03 am

Cannot run certain .js files

Post by StarFaller » Fri Jun 15, 2007 12:02 pm


I have a strange problem with iMacros.

I've been using iMacros 802 but 803 has the same problem, FF is

All i can say is there are certain .js files, actually every file i ever made, lately that have the play/edit button grayed out,i can't run the javascript.

a few days ago i had a macro, that i did manage to run, but now that same macro is also grayed out. actually is appears un-grayed for a split second, then it's grayed out.
I've been looking at the demo .js files, the buttons are not grayed out with those, and i can run them.

I'm running FF on a limited account on my work pc, but i have no problems running macros, saving files, extracting data using regular .iim files.

What are the checks the iim macros performs on the files in the scripts location folder, in order to determine if a script can be run or not?

btw, i'm using this code, and i get the grayed out behaviour, although i've tried cropping the code and the effect is the same

Code: Select all

var BaseCode, MyMacroCode, j, i , jsNewLine="\n";
var Get_PData, Save_Data;

Get_Player_Data = "TAG POS=1 TYPE=TD ATTR=HTM:*Ballhandling* extract=htm";
Save_Data = "SAVEAS TYPE=EXTRACT FOLDER=C:\\IT OPS\\Ionut Nica\\ FILE=Data.csv";
iimDisplay("Start demo");
i = iimPlay("C:\\IT OPS\\Ionut Nica\\Automations\\CESF\\Generic Header.iim",60)

User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm

Post by Tech Support » Fri Jun 15, 2007 1:30 pm

If I copy this code to a new file it works for me. Please email your orignial *.js file to support1 AT so we can test it. In your email, please refer to this forum post. Thanks!
Posts: 13
Joined: Sat Jan 20, 2007 9:03 am

Post by StarFaller » Fri Jun 15, 2007 1:58 pm

ok, i will send another file that also has this issue.

originally these files are placed in a briefcase folder, that i created, that i have full access to, write, read, execute, view contents.

the files are written with a freeware tool notepad++ if that helps, encoding is ansi encoding.
Posts: 4
Joined: Sat Jun 16, 2007 1:24 pm

Post by zwollner » Sat Jun 16, 2007 3:19 pm

I've found that If i try to edit the scripts using anything other than the "edit Macro" button it won't let me run them.
so if I browse to the folder and open them using wordpad (or something) then edit and save it, I can no longer run them.
Post Reply