otan1298 wrote: ↑Tue Mar 31, 2020 5:41 pm
Hey chivracq, thank you very much for the answer, you are quick on the trigger.
Sorry for posting in the wrong topic, in fact this was the most suitable place I found to post. If the administrator thinks it is better to move, I appreciate it.
As for the version of iMacros, I was doing my tests in the last trial version, but after 30 days it didn't allow me to use it anymore and I looked for an option (alternative
) that would work in the tests. With everything okay with the commands I will purchase the latest version.
Well, as for the code, I said, I don't know, I spent months trying (mistakes and successes) until I got to the one that worked (more or less).
I had read something about '! DOWNLOADED_SIZE ', however with my lack of knowledge I don't know how to implement it in the iMacros script
.
Looking here at my files I was able to identify that the size of the mp3 file is always between 52mb to 57mb, I don't know if that helps.
I don't need 100% guarantees that work every time, but 99.9% would be great.
Programming is not my forte, although I quite appreciate the subject.
I really appreciate your help and if possible I would like more tips (or even better, already in code).
Thank chivracq
Alright, again, don't worry about License for the Forum, I/we (Advanced Users) don't care... But you didn't mentioned you were using the 'Trial' Version, and current Version for iMB is v12.6, for which you can also download the 'Trial' Version from the 'Download' Page...
And hum, iMB the "Full" (= 'Pro') Version costs about 500USD I think, that sounds a bit expensive to me, if you only want to download a '.mp3' once a day, iMacros is also available as Add-on (for IE/FF/CR) in 'Free'/'PE' (= 'Personal Edition') Versions which are much cheaper ('PE' = 100USD) and would be good enough to simply download a File once a day...
Yeah well, "read stg" + "lack of knowledge" + "don't know how to implement", => tja, simply read the Documentation about that Command in the Wiki (and search for Examples on the Forum) and try to use it...
I've never used that '!DOWNLOADED_SIZE' Command myself either (I don't do any Downloads in my Scripts myself), I'm not even sure if it is supported in the Version(s) I use myself (v8.8.2 + v8.9.7 for FF), the Wiki is a bit Confusing about many Commands with the Icons for the 4 Browsers that regularly get added then removed then re-added again without mentioning (from) which Version per Browser a Command is supported or not, and as I use some "older" Version(s), I never know if a FF Icon (or no Icon) applies to my Version(s) also...
And I cannot test at the moment, I have a very limited metered Internet Connection, with about 100Mb left for the coming 3 Days, so I cannot do any Download now...
But, anyway, it's not complicated to add a "PROMPT {{!DOWNLOADED_SIZE}}" at the end of your Script, like documented in the Wiki...
Yeah well, about 100% / 99.9%, that was the same Case for me... The first Implementation with a Check on >50Mb would already give you 90% maybe...
About "more tips" and "already in code", well, try to implement that Functionality, I don't write Scripts for other Users, I let you find the/a Solution by yourself, that's much more "rewarding" for yourself, and you'll learn much quicker, ah-ah...! I only help Users who "really" get stuck after they've tried their Best...
Oh...!, but, ah-ah...!, maybe Interesting for you though, Users with an iMB 'Pro' (+ 'Enterprise') License have Direct Access to @TechSup, and they are much "nicer" and "easier" to help Licensed Customers writing their Scripts...
But hum, about Looping the Script launched from the Task Scheduler, that's actually "a bit complicated", supposedly not possible without the 'Scripting Interface' or using a '.js' Script on FF with v8.9.7 for FF, even if I have a few Workarounds in pure '.iim', so in your Case, it will be maybe better to repeat the same Block of Code about 5 times for 5 Attempts to download that File, if it doesn't work after trying 5 times, that means there is really a Pb with the Site or the Internet Connection "at that moment", and 5 times is enough, and you could launch the Script again (through the Scheduler) maybe 1 or 2 hours later...
And about the 'PE' Versions I mentioned, launching a Script (without even trying to loop it) from iMacros v10.0.x for FF/CR is also a bit cumbersome, as 'CLI' (= "Command Line" + I'm not sure what the "I" stands for, => "Interface"/"Integration"/"Implementation"...?) is not supported in those Versions anymore... There is a Workaround, but it's a bit cumbersome...
Might be easier for you if you could use v8.9.7 for FF (which is completely Free, and completely Functional), works on FF v55.0.3 + Pale Moon v28 + Basilisk 2019/2020.
'CLI' is still supported though I think for v12.6 for IE 'Free'/'PE'.
>>>
Tom, Tech Support wrote: ↑Tue Mar 31, 2020 7:11 pm
otan1298 wrote: ↑Tue Mar 31, 2020 5:41 pm
Sorry for posting in the wrong topic, in fact this was the most suitable place I found to post. If the administrator thinks it is better to move, I appreciate it.
Actually, this is the correct sub-forum for this topic, so I will leave it here.
Hum..., OK..., I don't "completely" agree, even if some (Sub-)Parts of this Scenario happen to be related to the Task Scheduler, and would be "easier" to implement with the 'SI', but the "main" Issue is about "verifying that a Download went OK", which is pure '.iim' Functionality (or can be done in pure '.iim')..., but OK anyway, no big deal..., and "yer Da Boss...!", ah-ah...!
- (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...