OK, I think I am not smart enough to get the script to work. I can get it to work by double-clicking it - but I would need to start it from command prompt to get the IDs. But I am unable to get it to work.
I have tons of activities categorized as "Other…