Hi,
Still new to Applescript and it has been quite a while since I did any real coding!
In my script, I am downloading some QIF files from my bank. Problem is that Safari thinks these are text files (which they are sort of) and opens them up with Preview. This is because I have the preference for AutoOpenSafeFiles set to Yes as I normally would want to open things like pictures and movies.
So what I needed to do was set this preference flag to No while the script was running then set it back to yes once it has finished.
While it was easy to turn that flag on and off, there doesn’t seem to be any way of forcing this to take effect immediately. I don’t really want to quit out and relauch Safari for this as that’s not not too friendly to the other pages that might be open.
Does anyone know of a way to force these preferences to go into effect when I want them to?
Thanks,
Jordan