Le 16 nov. 2012 à 20:47, Christian Schmitz a écrit: > Am 16.11.2012 um 19:38 schrieb Marnaud <[email protected]>: > >> Le 16 nov. 2012 à 18:20, Christian Schmitz a écrit: >> >>> I'll mark the classes as console safe, but can'T guarantee they actually >>> will do something. >> >> Thanks. >> So, getting the icon of a file is just not doable in console apps? > > Actually the next plugins will have code like this working in console apps: > > dim file as FolderItem = SpecialFolder.Desktop > dim i as new IconMBS(file) > dim f as IconFamilyMBS = i.IconFamily > > dim m,p as Picture > if f.GetIconImage(1024,p,m) then > dim fm as FolderItem = SpecialFolder.Desktop.Child("desktop mask.jpg") > dim fp as FolderItem = SpecialFolder.Desktop.Child("desktop pict.jpg") > > m.Save(fm, m.SaveAsJPEG, 80) > p.Save(fp, p.SaveAsJPEG, 80) > > end if
Nice, thank you! _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
