AJWhite1970 Posted July 16, 2014 Posted July 16, 2014 Hi Is it possible to output all the student photos in SIMS to individual bmp files, ideally with some form of unique identifiable name? Got to produce 1000 library cards over the summer and the card software will import a .bmp file which would make life 10000 times easier... Thanks Andrew
LosOjos Posted July 16, 2014 Posted July 16, 2014 (edited) You could try my little utility if you want, I wrote it to do something similar: SIMS Image Grabber - Dropbox Import the report in to SIMS.net, then run it and save the output as XML. Then, run my program (you'll need to do it in a console) and it'll extract all the photos from the XML for you - run it with no arguments for a "how to" It saves as JPG at the moment, but if you must have BMP you could either use another program like IrfanView to convert them all, or I can probably add the option to my program for you. Edited July 16, 2014 by LosOjos fixed URL 3
AJWhite1970 Posted July 16, 2014 Author Posted July 16, 2014 Thank you so much for this. Downloaded, imported, run, crashed, edited the output bit in the report (as it's looking for your desktop), ran it again and I now have 1200 images This has saved me sooooo much time Cheers Andrew
LosOjos Posted July 16, 2014 Posted July 16, 2014 Thank you so much for this. Downloaded, imported, run, crashed, edited the output bit in the report (as it's looking for your desktop), ran it again and I now have 1200 images This has saved me sooooo much time Cheers Andrew Haha yeah I probably ought to change that Glad it helped you out - one of those niggling things that rears it's head every now and then!
dlucas Posted September 12, 2014 Posted September 12, 2014 Good afternoon LosOjos, I am trying to use your image grabber from SIMS, thank you by the way. I was having a little trouble, whenever I try and run it I get "-Failed: Object reference not set to an instance of an object" loads of times in the command prompt window. Is this something to do with the way I have designed the report in SIMS or am I using image grabber wrong? Any help would be massively appreciated. Kind regards Darragh Lucas
LosOjos Posted September 12, 2014 Posted September 12, 2014 Hi @dlucas Have you tried importing the report included in the ZIP and running that? Are you a member of the "Third Party Reporting" permissions group in SIMS?
dlucas Posted September 12, 2014 Posted September 12, 2014 (edited) Sorry ignore me, I have imported the report and will try that. Edited September 12, 2014 by dlucas
LosOjos Posted September 12, 2014 Posted September 12, 2014 Okay, I have added myself to the third party reporting group, I am trying to import the report and under status it says pending... and hasn't done anything in quite some time! Silly question - have you actually clicked "Import" at the bottom of the window? The report will just sit in the list with "pending..." status until you do, that's why I ask... Also, just remembered someone else had a problem when they tried to run the report as it tries to save it to my desktop's path, so you'll need to open it up in report editor and change that path when you have imported it! 1
dlucas Posted September 12, 2014 Posted September 12, 2014 Haha, I feel silly now, I'm a bit of a SIMS n00b. Thanks that works really well! I'm assuming I can edit the report to say, only do Year 8? thanks again!
LosOjos Posted September 12, 2014 Posted September 12, 2014 Haha, I feel silly now, I'm a bit of a SIMS n00b. Thanks that works really well! I'm assuming I can edit the report to say, only do Year 8? thanks again! Yeah, just edit it in "Reports > Design Report" and add a filter. If you want an easy way to run it, I use the BAT script (put it in the same directory as the EXE and create a folder called "Photos" in there too): @ECHO off ECHO Deleting previously downloaded photos... ECHO Y | DEL "%CD%\Photos\*.jpg" ECHO Downloading ZZZ_PHOTO_EXTRACT photos from SIMS... START "Downloading ZZZ_PHOTO_EXTRACT photos from SIMS" /wait /min "C:\Program Files (x86)\SIMS\SIMS .net\commandreporter.exe" /user:[b]USERNAME[/b] /password:[b]PASSWORD[/b] /report:"ZZZ_PHOTO_EXTRACT" /output:simsrep.xml ECHO Extracting photos from XML... START "Extracting photos from XML" /wait /min SIMSImageGrabber.exe /S:simsrep.xml /D:"%CD%\Photos" ECHO Deleting XML... DEL simsrep.xml ECHO Done! PAUSE
matt40k Posted September 12, 2014 Posted September 12, 2014 Doesn't SalamanderSoft have a similar product? - SalamanderSoft Limited - Free Utilities
LosOjos Posted September 12, 2014 Posted September 12, 2014 Doesn't SalamanderSoft have a similar product? - SalamanderSoft Limited - Free Utilities Yeah he does but I needed to output the photos with ID as file name, so I wrote my own. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now