Page 1 of 1

Applescript or GC settings

Posted: Sat Jun 24, 2017 5:57 am
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 2581 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 2581 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

Re: Applescript or GC settings

Posted: Fri Jul 14, 2017 7:55 am
by forum_adm
How look the clipboard in the Finder (Show Clipboard command)?