• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GraphicConverter foreground color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GraphicConverter foreground color


  • Subject: Re: GraphicConverter foreground color
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 19 Jan 2012 12:20:22 +1100

Oooooops, mistake on my part. 24 bit white is 65535

tell application "GraphicConverter"
activate
hide tools
if (count of window) = 0 then
tell application "System Events"
keystroke "n" using command down
keystroke return
end tell
end if
show tools
tell window 1
set foreground color to {65535, 65535, 65535} -- White
set background color to {0, 0, 0} -- Black
end tell
end tell


Regards

Santa

On 19/01/2012, at 11:55 AM, Brian Christmas wrote:


G'day Robert.

Only two changes.

24 bit colour addressing

there's no addressing the window "Tools"



tell application "GraphicConverter"
activate
show tools
tell window 1
set foreground color to {65025, 65025, 65025} -- White
set background color to {0, 0, 0} -- Black
end tell

end tell


Regards

Santa



On 19/01/2012, at 11:09 AM, Robert Poland wrote:

Hi,

I'm trying to control the color of the foreground color and the background color in the tools menu.

Here's some of my efforts;

tell application "GraphicConverter"
activate
tell window "Tools"
tell foreground color to set (RGB color) to {255, 255, 255} -- White
-- set background color to {0, 0, 0} -- Black
end tell

end tell

Would rather not have to resort to GUI. Any help would be appreciated,


Robert Poland - Fort Collins, CO


Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
References: 
 >GraphicConverter foreground color (From: Robert Poland <email@hidden>)
 >Re: GraphicConverter foreground color (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: GraphicConverter foreground color
  • Next by Date: Get OS version of iOS device connected to Mac OS X
  • Previous by thread: Re: GraphicConverter foreground color
  • Next by thread: Get OS version of iOS device connected to Mac OS X
  • Index(es):
    • Date
    • Thread