Copy Paste Between 2 applications.

Hi

I’m new to the forum and new to apple scripts.

I have a large catalogue of text in word.

I need to copy paste about 5000 text entries from word into another application called Garagesale.

I don’t want to have to do it manualy. Each entrie in word has to be copied to a different template in Garagesale.

Is there a way with Apple Scripts or Automator to do that?

I really appreciate.

Thanks

Dom

Well, what do you mean by “entry”? Is each entry on a different page? Different document? How are they separated?

Also, I would need to know more about the garagesale App to help you. But as far as copying and pasting goes, you can do:


--Make sure you have "Enable access for assistive devices" checked in "Universal Access" under System Prefs, or this won't work!!!
tell application "System Events"
	keystroke "c" using {command down}
	keystroke "v" using {command down}
end tell

But in order to really I help, I think I need more information.

-SuperScripter

Hi SuperScripter

Each entry will be on the same page.

Each entry contains about 200 lines of HTML and each entry starts with:

HTML here…

and ends with:

Garagesale is done by the company iwascoding.com

In the app menu there is a script menu with these choices:

Open User Scripts Folder
Open Built-In Scripts Folder

and also some scripts like:

Change Text of Item Description
Find Replace Description Text
and some others.

The entries will come from the app Text instead of Word.

Thanks

Zen

And are all of the entries in the same document, or different ones?

Do you want the whole header/footer of the HTML code to be part of the copy/paste, or just the stuff between the start and end tags?

I’ll look into GarageSale if I have the time.

-SuperScripter

Hi SuperScripter

I would need the header/footer and the html.

All the entries are in the same document.

Wow! That would help me so much.

Thanks a lot

Zen :slight_smile:

Hi

I come to think about it and it would also be ok if each entries would be copied in an application i have called CopyPaste Pro. It’s like a giant clipboard.

That would do it for me.

From that giant clipboard i would then paste manualy in Garagesale which would be not to bad.

There’s also a text app that comes with CopyPaste Pro called Bean.