| filsa.net: Frontier Scripting [ Script Archive | Ideas & Issues | Polyglot | Software | Projects ] |
|
|
|
Monday, June 28, 1999webPaletteA browser-safe color palette for Frontier |
|
|
You can get webPalette from the Downloads page. This is a Macintosh only utility, since Macbird was not ported to Windows
Created by Philip Suh on Thu, Jun 12, 1997 at 11:24:32 PM.
[Why I Wrote It]Because I'm experimenting with MacBird. It's actually the first step of a much larger project.
[What It Does]This MacBird card lets you select 'browser-safe' colors and paste them directly into any Frontier object.
[How to Use It]It's easy! Activate the card by selecting the 'Web Palette...' command. Choose a color from the card. The color you choose will show in the bottom half of the card. The proper RGB triplet (for use in HTML tags) will be loaded into the clipboard. Pressing the "Paste" button will paste it into the frontmost window behind the card, if possible. If you hold down the shift key while you press 'Paste', the RGB triplet will be inserted enclosed in quotes. Or you can leave the card and select a window or table cell and paste it in manually (Cmd-V). That's it!
[Be Careful]Using this card will overwrite anything in the clipboard.
[Notes]Oh, this project got hung up for a long time, because of a bug in mouse.location(). Doug confirmed this bug and said he hopes to fix it in Frontier 5.0. (Note: it's been fixed!) John Delacour provided the workaround. Call window.frontmost() directly before calling mouse.location(). Thanks John! Sat, Jul 26, 1997 at 12:48:23 by PS
[About This Suite]This suite is emailware. If you use it, you must sendme an email at phil@filsa.net. Tell me what you think of the program and if you like, send me the URL of a site that you used it for. This suite is copyright © 1997 by Philip Suh. You are not allowed to modify this suite. You can feel free to distribute UNMODIFIED copies as long as you don't charge for it. If you want to include this on a CD or as part of another suite or software collection, please email me first for permission. There are no guarantees, expressed or implied. Use at your own risk. |
|
|
|
|
|
This is Phil's Frontier Scripting Site. San Francisco, CA Copyright © 1996-98, Phil Suh. All Rights Reserved. http://www.filsa.net/frontier/software/webPalette.html This page last built on 6/28/99; 11:13:56 PM |
|
| filsa.net: Frontier Scripting [ Script Archive | Ideas & Issues | Polyglot | Software | Projects ] |