Should it prove of use:

function rev_ImageLibraryIcons libraryName
    put the defaultStack into oDefault
    set the defaultStack to libraryName

    put the number of images of of this card into maxNum
    repeat with imageNum = 1 to maxNum
        put the long id of image imageNum into imageObject
        put the short name of imageObject into iconName
        put the short id of imageObject into id_Array[iconName]
    end repeat
    put id_Array into icon_NameTable
    combine icon_NameTable using return and tab
    set the defaultStack to oDefault
    return icon_NameTable
end rev_ImageLibraryIcons

Having to organise all these icons now- so any tips on "best practice" here?

Thinking of making a tool to export the images into a folder which a designer can work on - that is changing them to referenced images, and then something to go around re-IDing icons that are duplicated in groups in stacks - luckily they all have the same name - sometimes you just have to cope with other peoples mess :)

Anyone got an Icon Tool or organiser that I can use / add this stuff to?


On 10 Nov 2005, at 22:12, David Bovill wrote:

function rev_MyImageLibraries
    put the mainstacks into allLoaded
    filter allLoaded with "revLib*"
    line_Delete "revLibrary", allLoaded
    line_Delete "revLibStandardButtons", allLoaded
    return allLoaded
end rev_MyImageLibraries

on line_Delete someLines, @fromContainer, partLine, skipLines
  set the wholeMatches to (partLine is empty)
  repeat with ii = 1 to the number of lines of someLines
    put line ii of someLines into someLine
    get lineOffset(someLine, fromContainer, skipLines)
    if it is not 0 then
      put it + skipLines into lineNum
      delete line lineNum of fromContainer
    end if
  end repeat
end line_Delete

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to