Hey,
I'm new to Applescript and programming in general, and I'm trying to write my first script.
The idea is to write something that will sign into my bank's website and download the last week's worth of transactions - Quicken is surprisingly unhelpful in doing this neatly.
I got stuck when I tried to have the script enter last week's date in a text field. After searching around a little, I found a shell script which I modified to suit my format:
do shell script "date '+%m/%d/%Y'"
and used "keystroke result" to get Firefox to type out the date.
SO,
How do I convert the date to last week's date? I would just subtract 7 from the "days" section, but I have no idea how the shell script operates. I realize this is probably very basic stuff, but I'd appreciate any help or examples. Thanks.
I'm new to Applescript and programming in general, and I'm trying to write my first script.
The idea is to write something that will sign into my bank's website and download the last week's worth of transactions - Quicken is surprisingly unhelpful in doing this neatly.
I got stuck when I tried to have the script enter last week's date in a text field. After searching around a little, I found a shell script which I modified to suit my format:
do shell script "date '+%m/%d/%Y'"
and used "keystroke result" to get Firefox to type out the date.
SO,
How do I convert the date to last week's date? I would just subtract 7 from the "days" section, but I have no idea how the shell script operates. I realize this is probably very basic stuff, but I'd appreciate any help or examples. Thanks.