Hi Ilja,
Thanks for getting back to me on this. That’s great with the item specifics. It works well.
On the auto-opening a template it was as simple as finding the locating the template and opening it in Finder to bring it back into GS6
I am running the routine from with our database (Filemaker).
This first of all copies the template name from within the database to the clipboard
It then runs the applescript:
set myFile to (the clipboard as string)
set myFile2 to myFile & ".garageSale"
tell application "Finder"
activate
select file myFile2 in folder “Garagesale_templates” of folder “Desktop” of folder “macmini4” of folder “Users” of startup disk
delay 1
open selection
end tell
This seems to work ok with newly made GS7 templates:
tell application "Finder"
activate
open "Macintosh HD:Users:rufusbiggs:Documents:GoogleDrive:Garagesale7_templates:Percussive Adventures 2 (NEW).gslisting"
delay 5
end tell
so this should be ok. Is there anyway to open existing GS6 templates with Applescript or do I have to do it manually?
Related to this, I was asking about exporting multiple, individual templates at once for use later. I think the option to save them individually has gone. Is this also due to come back?
Another issue I have is adding images to a template with applescript. Previously, I was using the keyboard shortcuts to add this like this…
tell application "System Events"
tell process "GarageSale"
set frontmost to true
end tell
delay 3
keystroke “u” using {command down, shift down}
keystroke "http://ebay.absolutemusic.co.uk/additional/mauap192_01.jpg"
delay 1
keystroke return
keystroke "u" using {command down, shift down}
keystroke "http://ebay.absolutemusic.co.uk/additional/mauap192_02.jpg"
delay 1
keystroke return
keystroke "u" using {command down, shift down}
keystroke "http://ebay.absolutemusic.co.uk/additional/mauap192_03.jpg"
delay 1
keystroke return
delay 1
click "OK"
end tell
I think this shortcut has gone but I see the Listing image commands in the applescript dictionary but am unsure how to use them.
I presume it something like
make listing image myTemplate set image URL “http://wwww.thing.com/image.jpg” set is gallery image = “true”
Would you be able to point me towards the correct syntax?
Thanks again for your help.
All the best
Rufus