28
Oct
2004

Photoshop Scripting Plugin Saved my Day

http://www.adobe.com/support/downloads/detail.jsp?ftpID=1536

very recomandable

here is an example exporting Layers into Gifs:
(like you would need it, if you capture a lot of screenshots into layers)

// loop through the document and set each layer's visibility to false
for(var i=0; i<activeDocument.layers.length; i++) {
     // if it's a layer set, loop through it too
     if(activeDocument.layers[i].layers) {
          for(var j=0; j<activeDocument.layers[i].artLayers.length; j++) {
               activeDocument.layers[i].artLayers[j].visible = 0;
               }
          }
     // otherwise just set its visibility
     else {
          activeDocument.layers[i].visible = 0;
          }
     }

// loop through the document and set each layer's visibility to visible
// save it as a gif
// set its visibility back to false
for(var i=0; i<activeDocument.layers.length; i++) {
     activeDocument.layers[i].visible = 1;
     
     // it's not a layer set
     if(!activeDocument.layers[i].layers) {

          // set its name to layer name in a directory called "temp"
          // in the same location as the script

          gifFile = new File( "temp/"+activeDocument.layers[i].name+".gif" );
          gifSaveOptions = new GIFSaveOptions();
          gifSaveOptions.colors = 256;
          gifSaveOptions.dither = Dither.NONE;
          gifSaveOptions.matte = MatteType.NONE;
          gifSaveOptions.preserveExactColors = 0;
          gifSaveOptions.transparency = 1;

          activeDocument.saveAs(gifFile, gifSaveOptions, true, Extension.LOWERCASE);
          activeDocument.layers[i].visible = 0;
          }
     // it is a layer set
     else {
          // loop through the set
          for(var j=0; j<activeDocument.layers[i].artLayers.length; j++) {

               activeDocument.layers[i].artLayers[j].visible = 1;

               // set its name to layer name in a directory called "temp"
               // in the same location as the script
               gifFile = new File( "temp/"+activeDocument.layers[i].artLayers[j].name+".gif" );
               gifSaveOptions = new GIFSaveOptions();
               gifSaveOptions.colors = 256;
               gifSaveOptions.dither = Dither.NONE;
               gifSaveOptions.matte = MatteType.NONE;
               gifSaveOptions.preserveExactColors = 0;
               gifSaveOptions.transparency = 1;

               activeDocument.saveAs(gifFile, gifSaveOptions, true, Extension.LOWERCASE);
               activeDocument.layers[i].artLayers[j].visible = 0;
               }

          activeDocument.layers[i].visible = 0;
          }
     }
[via lucanboots@]

Folders are dead

The concept of hierarchicaly organised folders just doesn't work. First of all it's stupid to place a folder inside a folder - at least in a paper world it just doesn't work. The idea of organising documents inside folders was defenetly a good and obvious one. Everybody was familiar with this concept, and it worked for years. But with an extensively growing amount of data, files and documents it becomes harder and harder to organise them in a hierarchical structed system.

Taxonomies became popular in science during the 17th and 18th century. People tried to organise everything, especialy creatures and plants, into hierarchical systems. Until the mid 20th century that was a widly accepted approach (and it still is for many). But every attempt to finish such a system will fail. At a certain point, it won't be possible to decide whether a thing is a child of branch A, or branch B. And once you have decided for a certain branch, you are not able to move it any more. And that becomes even more difficult if your thing is a branch by itself, and has subchildren.
And those are just the logical problems behind it. You may also criticise the fact, that every taxonomy is very related to the person, organisation or culture that creates it. Taxonmies are often used to control things. But this controling and ruling somethimes is in conflict with understanding them.

Today we see a process, where hierarchical approches fail again. Yahoo tried to organise the internet, but Google showed how to make it better. Wikipedia is a perfect example how to organise information, without controlling it. There may occure hierachical structures, but just as a part of a constantly changing chaos.
Flickr is using tags to allow users to classify there uploaded photos. Even the technologie behind it is very primitive, it just works great. It's easy to understand and use, not just in a technical way, but mor important in a logical way. iTunes is another example of a mass product, that organises thousands of (music)files without the need of hierachical structures. They use ID3-Tags and playlist to constantly reorganise the music content in your library.

A few things an organization system should fulfill:
  • Don't rely on hierarchical systems
  • The system should be able to adopt
  • It should be simple - very simple
  • Try to use MetaData about the Information
  • Try to use the content itself
  • Use relations
  • Always keep in mind that the classification is made in an historical and social context and that it is just true for that moment and place.

Google offers search for Aliens

"Today Google announced, that it will offer search for aliens."
May, 2008

einstweilen gibts nur Suche auf der Erde.

Und falls man in der Schweiz, z.B. das Nummernkonto suchen will empfiehlt sich http://map.search.ch
logo

Mat's Blog

California Dreaming

Users Status

You are not logged in.

Search

 

Weather

Aktuelles Wetter in Kitzbuhel:


Temperatur: 10 C
UV Index: 0
Luftfeuchte: 71 %
Sichtweite: N/A km
Luftdruck: 1019.0 mb
Windstärke: 10 km/h

Weather data provided by weather.com

Get Firefox

Get Firefox!

Currently Reading


William Gibson, Jarreth Merz, Matthias Scherwenikas
Neuromancer, 3 Audio-CDs

Archive

October 2004
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
 
 
 
 
 1 
 2 
 3 
 4 
 6 
 8 
 9 
10
12
14
15
16
17
18
19
20
22
23
24
25
26
27
31
 
 
 
 
 
 
 

Recent Updates

und wie sieht es mit...
und wie sieht es mit deiner privaten Hochzeit aus? ;-) wünsche...
flog - 23. Oct, 20:49
Danke!
Danke Matthias für deinen Beitrag zu diesem Schritt....
Sierra - 22. Oct, 12:44
Ja, das Offline Problem...
Ja, das Offline Problem ist auch mein Hauptproblem....
matthias - 23. Sep, 14:36
ich verwende am Mac ausschließlich...
ich verwende am Mac ausschließlich die Browser...
smeidu - 23. Sep, 14:22
Stimmt -
Den Eindruck kann ich nur bestätigen; in der Bedienung...
N_Haase - 29. Jul, 13:24
Dach
und da oben am Dach, da sollte doch seit Jahren eine...
Sierra - 12. Jun, 10:47
but yammer accepts
no Austrian mobile numbers :(
cqeb - 15. Dec, 23:45
das verpasse ich leider......
das verpasse ich leider... http://twitter.com/flog/st atus/998712029
flog - 10. Nov, 21:38

Status

Online for 2153 days
Last update: 3. Mar, 15:52

Credits

vi knallgrau GmbH

powered by Antville powered by Helma


Creative Commons License

xml version of this page

twoday.net AGB