azbob wrote:Configuration:
Code: Select all
Win 10, Firefox 55.0.3, iMacros Standard Edition (x86) V12.0.0.501.2305
Hi,
Upgraded from
Code: Select all
IMacros V11.0.246.4051,FF Firefox 53
1) This code worked fine with IMacros V11.0.246.4051 to overwrite previous file entries:
Code: Select all
FILEDELETE NAME=C:\Users\Public\Documents\iMacros\datasources\CMATaxdata\Taxdata.csv
SAVEAS TYPE=EXTRACT FOLDER=C:\Users\Public\Documents\iMacros\datasources\CMATaxdata FILE=Taxdata.csv
Now with v12 and FF 55.0.3 it doesn't overwrite previous extract rather appends to prior extract.
2) When no anchor Extract is returning null instead of #EANF#
Are these FF 55 problems or v12?
Thanks
Same 2 Behaviours in iMacros for FF v9.0.3, is by Choice/Design for 'FILEDELETE', you can now
only delete Files located in the iMacros 'Downloads' Folder, Okay..., I can understand it, you'll have to adapt your Script to cope with it...
If you reuse the same '.CSV' as the DataSource for this same or some other Script, '!DATASOURCE' doesn't have the same Limitation luckily...
And you have a few other Workarounds as well, you can now in iMB v11.5/v12 from your Script temporarily set all iMacros 'DataSources' / 'Downloads' / etc Folders with a few new Built-in Vars implemented from iMB v11.5, I think...
Concerning 'EXTRACT' and 'Null' / '#EANF#', it's by (bad, ah-ah...!
) Design as well, and you can "play" with it with '!ERRORIGNORE' I think, but I've "demonstrated" in some other Thread that it's been not completely "correctly" implemented, and I consider it a full Bug in its current Implementation...
I don't remember exactly why and I'm too lazy/busy right now to search for the related Thread(s) (I think it's more than one), but there is stg else related to 'EXTRACT' returning '#EANF#' when_not_found, but that gets completely broken... (There is some other Functionality in iMacros (at least in iMacros for FF which is the only one I use, but I guess it's the same for all other "Flavours") that relies on 'EXTRACT' returning '#EANF#' if_not_found but Dev didn't think about it, Spanking deserved, ah-ah...!
)
Thread(s) is/are probably already about 1 year old, pity TechSup/Dev didn't follow up on that/those one(s) and still implemented the same Behaviour in iMB v12, I would say...!
Oh yeah, the Columns Structure of the '.CSV' File for the 'SAVEAS' gets completely screwed (as well) because of that, but I think there was stg else as well... landing you into some "Chicken and Egg" / "Catch 22" Loophole...!
And hum, @azbob, if you want to attract a bit TechSup/Dev's Attention, you should modify your Thread Title to "Filedelete not working in iMB v12" for example to include the Mention to 'iMB v12'... iMB v12 has just been released, I reckon they must be checking the Forum a little bit...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...