| Poster | Thread |
Coder
|  |
Making screenshots from a menu Posted on 15-Jun-2013 12:01:03
| | [ #1 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| Hi,
How would one make a screenshot of a menu? No problem taking it from anything else but when I bring a menu up there is no way to make a screenshot from that. Any suggestions would be welcome.
Coder _________________ Can't get enough of me? The Bucket Diary Blog The Bucket Diary Twitter Account |
|
| Status: Offline |
|
|
padrino
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 12:11:44
| | [ #2 ] |
|
|
 |
Regular Member  |
Joined: 26-Jun-2004 Posts: 490
From: Germany | | |
|
| @Coder
Hi,
just use SGrab.
You can set a grabbing delay with it.
CU, Mario _________________ ********** AMIGA - More Than Just Standard ********** |
|
| Status: Offline |
|
|
Coder
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 12:35:51
| | [ #3 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| |
| Status: Offline |
|
|
TheAMIgaOne
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 13:08:42
| | [ #4 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| @Coder
yeh when the menu is brought up, I think it enforces forbid() which stops any mulititasking until the mouse is released, so nothing will be able to grab it
_________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|
padrino
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 13:17:13
| | [ #5 ] |
|
|
 |
Regular Member  |
Joined: 26-Jun-2004 Posts: 490
From: Germany | | |
|
| @TheAMIgaOne
Well, first menus don't lock multitasking, they just lock GUI / Intuition. 
Second that blocking can be turned off in GUI prefs, menues page (it's on by default for compatibility reasons AFAIK).
And running SGrab with a timer should then be able to capture an open menu. (sorry, that I wasn't that precise)
CU, Mario Last edited by padrino on 15-Jun-2013 at 01:24 PM. Last edited by padrino on 15-Jun-2013 at 01:21 PM. Last edited by padrino on 15-Jun-2013 at 01:20 PM.
_________________ ********** AMIGA - More Than Just Standard ********** |
|
| Status: Offline |
|
|
salass00
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 13:22:09
| | [ #6 ] |
|
|
 |
Elite Member  |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @TheAMIgaOne
No Forbid() is used for menus rendering (if there was I think USB mouse wouldn't work in them) but you may want to make sure that non-blocking menus is enabled in GUI prefs. |
|
| Status: Offline |
|
|
TheAMIgaOne
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 13:35:02
| | [ #7 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| @salass00
Ah ok, just a thought :) _________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|
number6
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 13:55:16
| | [ #8 ] |
|
|
 |
Elite Member  |
Joined: 25-Mar-2005 Posts: 11924
From: In the village | | |
|
| @padrino
Hmmm... I have IBrowse on a public screen. If I select the public screen name, switch to it with the delayed grab, and pull down a menu I get a screengrab of the screen and the pull down menu.
If I select only the window for IBrowse (in this case AmigaWorld), switch to it with the delayed grab, and pull down a menu I do not get a screengrab of the pull down menu...only the main IBrowse window.
Can you replicate this and/or is that normal behavior?
#6
_________________ This posting, in its entirety, represents solely the perspective of the author. *Secrecy has served us so well* |
|
| Status: Offline |
|
|
djrikki
 |  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 16:42:37
| | [ #9 ] |
|
|
 |
Elite Member  |
Joined: 22-Jun-2010 Posts: 2077
From: Grimsby, UK | | |
|
| I've used SGrab in the past to capture and it works everytime. _________________
|
|
| Status: Offline |
|
|
Coder
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 17:27:00
| | [ #10 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| @padrino
Quote:
| Second that blocking can be turned off in GUI prefs, menues page (it's on by default for compatibility reasons AFAIK). |
I set this but it does not capture the menu. If I set it with a timer it just wants until I close the menu part and takes a shot at that moment.
Coder_________________ Can't get enough of me? The Bucket Diary Blog The Bucket Diary Twitter Account |
|
| Status: Offline |
|
|
Coder
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 17:30:21
| | [ #11 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| |
| Status: Offline |
|
|
djnick
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 18:53:49
| | [ #12 ] |
|
|
 |
Cult Member  |
Joined: 11-Jun-2003 Posts: 947
From: space | | |
|
| @Coder
Back in 1997 [and even now on my old 060 ppc Amiga I didn`t turn on for over a year now] I have some program that is always in the background [kill me but can`t remember its name, I think it is Cyber something or not]. And I configured it that each time I click on CTRL+SHIFT+LALT+S - it snapshots whole screen where ever you are [right click menu, animation, whatever - it works perfect and it saves .PNG to RAM:
I do miss that program. I don`t like today's program with so many unnecessary settings and each time I have to configure output, set to PNG [instead ILBM] and give it name... SGrab just can't remember anything :( Also it does not work [I just can't printscreen system while in right-click menus].
I will try to disable blockings from settings and see if it will work then.
Perfect combination will be autosaving image when hit on my [user selected] key-combination to RAM: as format I want [PNG prefered]. For some reason - ILBM opens in Photoshop distorted.
I've tried to set up Icon settings - but it won`t work... _________________ nykk | deetronic.rs | youtube.com/djnykk | gfx.river | mamavolibebu.com |
|
| Status: Offline |
|
|
djnick
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 19:11:21
| | [ #13 ] |
|
|
 |
Cult Member  |
Joined: 11-Jun-2003 Posts: 947
From: space | | |
|
| @Coder
Well well I am happy that I fixed something all by myself :)
I've manage to get SGrab to work like I want!
This is how I set up SGrab icon:
CX_POPKEY="ctrl alt s" (CX_PRIORITY=0) CX_POPUP=NO (DELAY=0) (MARK) WINDOW (WINDOWCONTENTS) (FILE={2:title}_{size}.{type}) FILE=RAM:snapshot.png (CLIPUNIT=0) (NUMBER) (PUBSCREEN=?) (ICON=?) GRABSCRKEY="ctrl shift alt s" (GRABWINKEY=?) (NOBEEP) (WINPOS=CENTER|MOUSE|TOP)
And when I hit ctrl shift alt s - I got PNG snapshot from my system - where ever I am - it just works like on my old Amiga!
Also GUI prefs [Menus] are set like this [I don't like to hold right mouse button for meny, I love just clicking once and it stays opened]:
Pull-down menus: Sticky panels turned on, Pop-up menus: Sticky panels and Non blocking - turned on.
I will now try to add SGrab to start each time with WBStartup menu. :) _________________ nykk | deetronic.rs | youtube.com/djnykk | gfx.river | mamavolibebu.com |
|
| Status: Offline |
|
|
djnick
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 19:22:05
| | [ #14 ] |
|
|
 |
Cult Member  |
Joined: 11-Jun-2003 Posts: 947
From: space | | |
|
| Hm... I got errors when SGrab is being started as WBStartup... I keep getting - Delay - should I wait more? - requests and system starts after a click or two on requesters, and SGrab starts.
How can I start SGrab without this notification window? From User-Startup command line [?] or by adding command [something like DoNotWait?] to Icon? _________________ nykk | deetronic.rs | youtube.com/djnykk | gfx.river | mamavolibebu.com |
|
| Status: Offline |
|
|
padrino
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 19:28:09
| | [ #15 ] |
|
|
 |
Regular Member  |
Joined: 26-Jun-2004 Posts: 490
From: Germany | | |
|
| @djnick
Set the Tooltype DONOTWAIT or in modern OS remove the checkmark on the icon page (which does the same )
CU, Mario Last edited by padrino on 15-Jun-2013 at 07:30 PM.
_________________ ********** AMIGA - More Than Just Standard ********** |
|
| Status: Offline |
|
|
padrino
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 19:32:02
| | [ #16 ] |
|
|
 |
Regular Member  |
Joined: 26-Jun-2004 Posts: 490
From: Germany | | |
|
| @Coder
Quote:
Coder wrote: @padrino
A restart fixed it. 
Thanks!
Coder |
You're welcome. 
CU, Mario_________________ ********** AMIGA - More Than Just Standard ********** |
|
| Status: Offline |
|
|
djnick
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 19:42:30
| | [ #17 ] |
|
|
 |
Cult Member  |
Joined: 11-Jun-2003 Posts: 947
From: space | | |
|
| |
| Status: Offline |
|
|
broadblues
 |  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 22:30:17
| | [ #18 ] |
|
|
 |
Amiga Developer Team  |
Joined: 20-Jul-2004 Posts: 4456
From: Portsmouth England | | |
|
| @number6
Quote:
Hmmm... I have IBrowse on a public screen. If I select the public screen name, switch to it with the delayed grab, and pull down a menu I get a screengrab of the screen and the pull down menu.
If I select only the window for IBrowse (in this case AmigaWorld), switch to it with the delayed grab, and pull down a menu I do not get a screengrab of the pull down menu...only the main IBrowse window.
Can you replicate this and/or is that normal behavior?
|
100% normal behaviour. The Menu is not part of the window, so if you select window rather than the screen you will get the window only.
Depending on your screens prefs you may see damage areas, if say compositing is off, corresponding to the overlapping menu.
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
| Status: Offline |
|
|
djnick
|  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 23:09:51
| | [ #19 ] |
|
|
 |
Cult Member  |
Joined: 11-Jun-2003 Posts: 947
From: space | | |
|
| @broadblues
Thanks for explanation.
I am just uploading my 1st theme to OS4depot [v0.1]... It is not final [for some reason AmiCygnX crashes on startup and MAME wont start too?] but it will be nice when arrive there, to try and test - and figure out - why programs crashes because of theme set?
Anyway - I've also figured out now that SGrab saves IFF ILBM files [instead .png] - it just renames IFF to PNG. This will not be anything hard BUT none of the ILBM files are opening on a PC [!!??]
Photoshop, Paint, ACDSee... none programs are opening [nor recognizing?] ILBM files :(
How to set SGrab [in its icon settings] NOT to use IFF but to save as PNG??? To be honest I've never experienced that files shows well on Amiga and not opening at all on PC [even they appears in context menu as IFF, but cant look at it in 1:1 resolution] :(
p.s. after uploading several files on OS4depot - is it normal that you first upload file and when it appears you can add screenshots? It is not possible to add screenshots in uploading page? Last edited by djnick on 15-Jun-2013 at 11:16 PM.
_________________ nykk | deetronic.rs | youtube.com/djnykk | gfx.river | mamavolibebu.com |
|
| Status: Offline |
|
|
Kicko
 |  |
Re: Making screenshots from a menu Posted on 15-Jun-2013 23:28:32
| | [ #20 ] |
|
|
 |
Elite Member  |
Joined: 19-Jun-2004 Posts: 5009
From: Sweden | | |
|
| I use nonblocking menus in gui preferences.
Then i config the program called 'allkeys' (from onyxsoft) to use special keys from my keyboard like Print screen button and one with left shift + print screen button. One of them take a screenshot of only the window selected and the other of whole screen. So you need only to change the DELAY part in how many seconds you want sgrab to wait before taking the screenshot. 3-5 Sec are enough. You can also check the guide on howto in sgrab if you want to change something else.
DH0:Utilities/SGrab/SGrab PNG FILE="RAM:Grab.png" DELAY=0 NUMBER WINDOW DH0:Utilities/SGrab/SGrab JPG FILE="RAM:Grab.jpg" DELAY=0 NUMBER Q=100
Or just use tooltypes in icons like other described. Some people get scared of all the configurability but its there for purpose, you can run it from icon or from other apps, shell etc. You set it up once then dont need to touch :)
Last edited by Kicko on 15-Jun-2013 at 11:32 PM. Last edited by Kicko on 15-Jun-2013 at 11:29 PM.
|
|
| Status: Offline |
|
|