Applescript or GC settings

Having tech problems? Post them here and do not worry, there is always a solution for you.
Post Reply
jrmitchell
Posts: 1
Joined: Sat Jun 24, 2017 5:25 am

Applescript or GC settings

Post by jrmitchell »

Hi, I'm using Applescript to open a .png file (created in OmniGrafflePro) using this code
tell application "GraphicConverter 10"
open exportFile
tell window 1
#activate
delay 2
set s to image dimension
set w to item 1 of s
set h to item 2 of s
set selection to {0, 0, w, h} -- "Select All"
copy
end tell
quit saving no
end tell
This is the resultant file mtgLayout.png.
mtgLayout.png
mtgLayout.png (39.52 KiB) Viewed 2441 times
The copy from GC works but when I paste it into FMPro (using Appelscript) or Nisus (using Nisus paste) I get this:
Saved in FMPro or Nisus.jpg
Saved in FMPro or Nisus.jpg
Saved in FMPro or Nisus.jpg (31.95 KiB) Viewed 2441 times
The colours have gone to a grey tint?

However if I drag the file to the container field in FMPro I get as the file mtgLayout.png

Is this a profile or other setting I need to set in GC before copy/pasting to FMPro
User avatar
forum_adm
Site Admin
Posts: 1814
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: Applescript or GC settings

Post by forum_adm »

How look the clipboard in the Finder (Show Clipboard command)?
Post Reply