Screenshot with Mac / MoI v3 beta Mar-17-2013

Next
 From:  moritzbock (MORITZ)
5782.1 
Hi,
i bought a new mac with OS X 10.8.3 Mountain Lion / ATI Radeon HD 5770.

When I took a screenshot from the MOI-UI with this script:

script:var img = moi.view.screenshot( 'view panel',false ); var name = img.getSaveFileName(); if ( name != '' ) img.save( name );

the result was a .png with a black circle on a black background.

Taking screenshots with Windows 7 64 bit was no problem at all.

Is something wrong with this script or with my mathematical slave?

Thanks for your attention

Moritz from Germany


  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5782.2 In reply to 5782.1 
Hi Mortiz, I guess that particular screenshot method does not work on OSX currently - I should probably be able to fix that up, but there is a different screenshot method that most people use instead (since it allows for a higher resolution image than just the current screen display) which should work.

That one is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=1049.5

Or also if you want to take a screenshot only of the current screen exactly at its current size, you could use one of the built in OSX screenshot methods like Shift+Cmd+4 to take a screenshot.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  moritzbock (MORITZ)
5782.3 In reply to 5782.2 
Hi Michael,
thanks for your help. But unfortunately this solution:

----------------------------------------------------------
That one is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=1049.5
----------------------------------------------------------

won't work in the way the Windows-based script does.

And the "Mr. Spock"-grip cmd-shift-4 on the mac forces my to rename each screenshot separately.

I'm sure you will fix that problem before sunset ... :-}

Moritz from Germany
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5782.4 In reply to 5782.3 
Hi Moritz,

> I'm sure you will fix that problem before sunset ... :-}

I'm away on vacation for this next week (still on e-mail and such but not at my main dev machines) so I won't be able to really look into this problem until I return, and it will likely take until the next v3 beta release, sorry.


> And the "Mr. Spock"-grip cmd-shift-4 on the mac forces my to
> rename each screenshot separately.

Ok, but each rename is not particularly time consuming, this method should work for getting the job done currently.

There are also some other varieties of OSX system screenshot methods listed here:
http://graphicssoft.about.com/od/screencapturemac/ht/macscreenshot.htm

And probably if you look around I'm sure you could find a screenshot utility that would prompt you for a filename when you push a hotkey rather than auto naming it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mcramblet
5782.5 
To throw in my 2 cents; I don't use the script (although it does work in OS X). I much prefer to use the built-in OS X app called Grab. You have the options of capturing an individual window or dialog box, the whole screen, a timed screen shot or you can make a selection. If a person wants to get "fancy", an Automator script can be used to name and place screen shot in a particular folder. I no longer go to that length, but I use Grab with every project to capture MoI model views and then bring them into PhotoShop to quickly place them on a uniform background.

Michael Cramblet
Packaging Design
Phone: 616-574-6271
 
Image Attachments:
Size: 348 KB, Downloaded: 50 times, Dimensions: 1280x720px
Size: 78.9 KB, Downloaded: 55 times, Dimensions: 469x996px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  moritzbock (MORITZ)
5782.6 In reply to 5782.5 
Hi Michael,
that's a practical suggestion.

Thanks a lot

Moritz from Germany
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All