Place List of Available Shipping Services on Clipboard

This script gets a list of the domestic shipping services and puts it on the clipboard.

You will need to rename “GarageSale 9.8.1” to whatever its called on your computer.

I found it was easier to go through the list as pasted into a new text document versus using the popup menu in order to decide what services I wanted to no longer see in the popup menu.

tell application "GarageSale 9.8.1"
	
	repeat with theListing in (get selected ebay listings)
		
		set theOption to (the shipping option of theListing)
		
		tell theOption
			
			set shipServices to available domestic shipping service names
			
			set prevTIDs to AppleScript's text item delimiters --Store Delimiters
			set AppleScript's text item delimiters to return --Change Delimiters
			
			set shipServices to (shipServices as rich text)
			
			set AppleScript's text item delimiters to prevTIDs --Reset Delimiters
			
		end tell
		
	end repeat
	
end tell

set the clipboard to shipServices

This one gets the international services and puts it on the clipboard.

tell application "GarageSale 9.8.1"
	
	repeat with theListing in (get selected ebay listings)
		
		set theOption to (the shipping option of theListing)
		
		tell theOption
			
			set shipServices to available international shipping service names
			
			set prevTIDs to AppleScript's text item delimiters
			set AppleScript's text item delimiters to return
			set shipServices to (shipServices as rich text)
			
			set AppleScript's text item delimiters to prevTIDs
			
		end tell
		
	end repeat
	
end tell

set the clipboard to shipServices

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