Script not working - set auction price with buy it now price

Hello,

I was able to the run the script below with GS7 betas, but with GS7.0.2, it’s throwing a “Expected “,” but found identifier” Error. It highlights the word “ebay”.

tell application "GarageSale"
repeat with theListing in (get selected ebay listings)
set newStartingBid to buy it now price of theListing
set amount to (starting bid price of theListing as real)
set amount to (amount as real)
set starting bid price of theListing to (newStartingBid - 0.01) as string
end repeat
end tell

Can you please help me solve this issue?

Thank you.

@ilja @paul Help anyone? Please :smiley:

Thank you

Select a couple of your listings and try running the following script on them. Be sure the “GarageSale-8” matches your application name (i.e. hover over the icon you use to start GS.

Warren

set theReply to (display dialog “Change the starting bid of all selected templates by applying the factor:” default answer “1.00” buttons {“Cancel”, “OK”} default button “OK”)
if button returned of theReply is “OK” then
set factor to text returned of theReply as real
tell application "GarageSale-8"
repeat with theListing in (get selected ebay listings)
set bid to the (buy it now price of theListing)
set bid to bid * factor
set the starting bid price of theListing to bid
end repeat
end tell
end if

Thank you Warren. @wzindler

I found a bunch of scripts here, they are part of the new docs.

https://manual.iwascoding.com/gs7/en/AppleScript-Example_Scripts.html

GarageSale team please ignore that request, I’ll take it from here :smile:

Enjoy the weekend.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.