Help - Search - Members - Calendar
Full Version: Save The Last Flash Movie You Watched
Quicksilverscreen Forum! > Internet Cafe > Software & Applications > Non Windows Apps
ginge
Didnt really know where to post this...

Whenever you watch a flash video in your browser, the entire video is buffered to your hard drive, and stored in a temporary folder. You can then make a copy of the flash video by browsing through your temp folder manually, but Blake has automated this with a shell script that prompts you for a friendly name, and then automatically saves the video to your ~/Videos folder.

To re-create this for yourself, create a new shell script and paste in the following:

CODE
#!/bin/bash
name=$(/usr/bin/zenity --entry --title="Name your Video" --height=100 --width=300 --text="Please name your video ")
cp /tmp/Fla* ~/Videos/"$name"


Then you'll need to set the script as executable with the chmod command, adjusting for the name of your script:

CODE
sudo chmod 755 SaveFlashVideo.sh


Once you've completed these steps, just create a new launcher for your Gnome panel—and clicking it should display the dialog in the screenshot.

Source
hitmewitdarock
moved to proper forum...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.