Priest of the Order of the Butterfly
Posts: 820 from 2008/3/30
From: Roma, Italy
Why don't create a momentary alternative auto-grabbers buttons for yourself?
Given that I'm not a programmer I thought to create (what a big word!) a button to insert in the MorphOS dock bar. I did in this way:
downloaded "SGrab" (you can find it on Lukysoft website or Aminet) and placed in my Tools dir. I decided for this program because I don't know how to use (and if it is possible to do) Grabber via CLI.
Opened 'Ed' and create this line:
DH0: Tools/SGrabPPC RAM:'filename'_{number}.jpg JPGdh0: tools/SGrabPPC is where is the program. So write your directory, in wich program is.
RAM:'filename'_{number}.jpg JPG means:
RAM or where you prefer to save the grab
'filename' is clear
{number} is an option that allow you to save more grabs with the same name but different number (growing by 1, according to the last number saved
.jpg is the file extension
JPG is the graphic file type that will be saved. You can choose PNG (and change .jpg in .png). No choice will result in a ILBM file save.
I saved this little script as "SnapScreen", found an appropiate icon, choosed "Project" as type and I wrote iconx in the 'Deafault Tool'. Now the button to grab screen is ready!
I did the same for window grab button, modifying the script:
DH0: Tools/SGrabPPC WINDOW RAM:'filename'_{number}.jpg JPG Option are the same as above except "WINDOW" option that tells the program to grab the active window. Saved it as "SnapWin". Choosed another appropiate icon and I did exactly the same I did before, creating the second button. The one to grab window.
Now you can place them in the MorphOS panel or, for a realistic scene, you can create another panel, insert this two buttons, change its size and place it on the Ambient screenbar. With the right background, of course...
If someone knows if Grabber could be used with CLI it would be nice. I searched for any information but I found nothing...
SGrab is a little bit slow but works. Read the "Read me" for other options.
Pegasos II 1 ghz
Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
Powermac G4 MDD single 1.25 ghz, silenced for ears health...
Powermac G5 dual 2.7 ghz I'll be back...
Powermac G5 dual 2.0 ghz
Powerbook G4 1.67 ghz 17