@Buoyancist wrote:
Hi.
I'm trying to take a simple screenshot with simple code but can't really understand why they aren't saved.
if (key == 'a') { ofImage screenshot; screenshot.grabScreen(0, 0, ofGetWidth(), ofGetHeight()); screenshot.save(ofGetTimestampString()+"_screenshot.png"); }
As far as I know they should now be saved into the data folder? Tried with "/"+ofGetTimestampString()+"_screenshot.png"); as well but not working either, the folder remains empty and tried to search with finder and couldn't find any screenshots. What might be the reason?
Posts: 1
Participants: 1