How Do I Extract Shipping Address from Shopify Web Page and Paste into Pages Form?

Replace the script in the first Action (Execute JavaScript in Front Browser) with this script:

JavaScript to Extract Shipping Address from Revised Web Page

//--- VER 2.0    2018-03-08  ---
//  Use Revised Order Web Page
//  https://fakeasstore.myshopify.com/admin/orders/326207438900

var custCardElem = document.getElementById('customer-card');

var shipAddrElem = custCardElem.querySelector('p.type--subdued');
shipAddrElem.innerText;

It works fine now!!

I just want to say thank you for everything!

1 Like

@Lamin_Jadama, I hope you don’t mind that I have changed the Title of your Topic:

FROM:
Macro to copy from Google chrome and paste in Invoice Form

TO:
How Do I Extract Shipping Address from Shopify Web Page and Paste into Pages Form?

in order to make it more clear what problem you want to solve, so that it will be easier for future readers to search and find.

No not at all, I’m surprised you understood everything I said! My English is not best.

I have uploaded the final version of this macro to the Macro Library section:

Macro: Extract Data from Web Page and Paste into Mac App [Example]

to make it more accessible.