you can save the image with the shortcut cmd+shift+s the shortcut action is:[ Smalltalk snapshot: true andQuit: false. UIManager default inform: 'Image saved' ] it starts with showing this notification again. How can this work? The notification was sent after the image was saved. |
2015-07-03 21:22 GMT+02:00 Nicolai Hess <[hidden email]>:
It's the activeProcess that saves the image right? And the activeProcess is being part of the saved image... So guess which activeProcess will get restored when the image is restarted (resumed)? Normally, snapshoting used to answer a boolean indicating whether the image is resuming or not. If this hasn't changed in Pharo, this should be something like: [ (Smalltalk snapshot: true andQuit: false) ifFalse: [ UIManager default inform: 'Image saved' ] ] Nicolas |
2015-07-04 0:08 GMT+02:00 Nicolas Cellier <[hidden email]>:
Ah, of course. That explains it. Thank you.
|
2015-07-04 0:27 GMT+02:00 Nicolai Hess <[hidden email]>:
Yes, that works!
|
In reply to this post by Nicolai Hess
On Fri, Jul 3, 2015 at 9:22 PM, Nicolai Hess <[hidden email]> wrote:
Thanks! :) Peter |
Free forum by Nabble | Edit this page |