I have my on students site I hope to open it from mail
get an image
paste it in Preview
delay to enlarge it if necessary
open a new folder
delay again
choose a folder
paste the image
close Preview
Return to google
Is it possible using Mojave?
Can I do it as a loop?
I need to use Google as the students uise various encoding ways and dropping the file requires the proprewr folder esch time
what do you mean by “google”? Google Drive? or a search page in the browser? or something else? also where is “open it from mail” in this process?
Scripting needs some information to do its work.
So, “get an image” must mean that you give a specific URL to the script so it can download the image.
Once the image is downloaded, you can “choose a folder” to save it.
No need to “paste it in Preview” since very likely Preview is going to be the default app to open the image.
“Return to google” and “Can I do it as a loop?”, this probably means you will be giving a list of image URLs to be downloaded to a specific folder. You can use “Image Events” to work with the images, if possible, and a folder to download all the pictures. Yes it can be done with Mojave, but you have to rethink your script.
As I said U am no lomger familiar with A
APPLESCRIPT
This is my whole process:
I easily paste various emails where I get
1st The student name and code
3nd a Google Chrome Url with either video or pics
4th A text comment belkow the image pr video
5th if there are more than a videio or image Tge script should go to the next
6th An empty text dpace where I had mu comment.
I have a BBEDIT filewith the studetn - tab. code- tab URL where the images are.
I use google as each student uses its own version of chrome and as I am in taiuwan they might use different text enchoding. Safari always gives problems with different chinese text while Chrome gets everything properly.
Datrting with the BBedut file could anyt kind person help giving me a sample full script for Sonoma? (I dropped MOjave)
Thanks
Can you send an example?
Change names if you need.