Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Uprise42

macrumors newbie
Original poster
Jun 24, 2015
2
1
I don't know if its not proper or just not how i expected it to work but heres a copy of my workflow:

Get specified URL's
http://www.tcgplayer.com

Display webpages
http://www.tcgplayer.com

Get specified finder items
Magic card list iCloud Drive > magic card list

Open excel workbooks

Select cells in Excel Workbooks
Range of cells: A1:A1

Copy Workbook content to clipboard

Get contents of clipboard
Citadel Siege is being copied while I'm testing this

Watch me do
Click the text field
Click the text field
Click the text field
Press Command-V
Press Command-V
Press Command-V
Click the "GO" button

I could only get it to work by doing the actions 3 times each. any less and it won't paste anything. However at this point it pastes "Citadel Siege"

Pause
5 sec
I have a slow connection so this just lets the page load

Get current web page from safari
http://shop.tcgplayer.com/magic/product/show?ProductName=Citadel+Siege&newSearch=false
Just for this specific example

Get link URL's from Webpages
Only Return URL's in the same domain
http://shop.tcgplayer.com/magic/ugins-fate-promos?issingles=true
http://shop.tcgplayer.com/magic/fate-reforged?issingles=true
http://shop.tcgplayer.com/magic/fate-reforged?issealed=true
http://store.tcgplayer.com/cardfight-vanguard/g-td05-fateful-star-messiah?issingles=true
http://shop.tcgplayer.com/magic/fate-reforged/citadel-siege
http://shop.tcgplayer.com/magic/fate-reforged/citadel-siege#PriceGuide
http://shop.tcgplayer.com/magic/fate-reforged
http://shop.tcgplayer.com/magic/fate-reforged/citadel-siege#PriceTable


Select Cells in excel workbook
Range: A1:A1
The links got added to the clipboard to I'm resetting it here

Copy Excel Workbook content to the clipboard

Get contents of Clipboard
Citadel Siege
Which is what i want

Set value of variable
(

"Citadel Siege{

NSFont = "\"Calibri 12.00 pt. P [] (0x600002c4bac0) fobj=0x6000003ffe00, spc=2.71\"";

}"

)


I don't know where this comes from

This next one is a bit out of the way but ill explain what i did after

Filter URL's
Any following are true
Entire URL contains $(D1A94863-C738-4082-A5EA-3A93FB35D977)


And it doesn't filter the URL's. I want to filter the URL's to get rid of the ads. I read on quite a few articles online that getting the UUID of the variable and pasting into the text field allows you to use the variable where you normally can't so thats what that is. What i get is no URL's and since thats the only variable i know i didn't copy the wrong UUID. Were all of the links wrong or am i messing something up? Im fairly new to automator and was piecing together several different tutorials to do what i need. Thanks for the help in advance!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.