Programming :: Automate Copy And Paste Of Files From The Internet?

Jul 28, 2010

Here is what I currently do and want to automate:

1) I manually enter a particular web site address in the browser.

2) When the page displays on my machine, it shows a number of links I need to visit, one after the other.

3) Each of these links display another page (file) from which I "cut and paste" information. I do this by highlighting manually the wanted info, click "copy" then select an open file on my computer, select "undo" if necessary to remove any previous content, click "paste" and then "save".

4) I then call a Yabasic program that reads the saved file and trims unwanted info.

5) At the completion of the Yabasic program, I click the web page tag, click the "back" button to return to the first page (since I am in the second) and click the next link in this first page till all links have been visited.

6) visit the next known web site and repeat 1 to 5

In an automated program, what I need to do is:

1) Visit the known page of the web site showing the links
2) save the page showing the links (the first page)
3) make a list of those links
4) visit each link one after the other and save its page from which I will programmatically (Yabasic) select info.
5) repeat 1 to 4

I can do this in "Yabasic" (which can issue Linux commands) or PHP although I do not know PHP much.the purpose of this is to associate towns and cities of the world with their respective political/geographical divisions and their respective time zone. This has to be done often because that data changes regularly.

View 3 Replies


ADVERTISEMENT

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

Jul 9, 2010

just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?

View 1 Replies View Related

Debian :: Install A Clipboard That Will Copy From The Internet And Paste In Office?

May 12, 2011

I want to install a clipboard that will copy from the internet and paste in office. I looked in the package manager and saw a plethora of clipboards.

View 7 Replies View Related

Ubuntu :: Unable To Copy And Paste Files Within 10.10?

Nov 27, 2010

I just installed Ubuntu 10.10 on my laptop. Now I am organising the structure of maps and folders, etc. My struggle is that I seem to have no permission to copy, paste and move files to another place then the home folder and the desktop.I am a total newby in Ubuntu and coming from a Windows operating system, so please give me some assist. I guess it must be very simple, but I don't have a clue at the moment.

View 4 Replies View Related

General :: Cannot Copy,cut,paste And Even Delete Files?

Mar 16, 2010

I just installed Fedora11 with the KDE desktop and completed a yum update. Every time i try to copy and paste files and even delete files from a file manager or my desktop, I get this error:Quote:Could not start process Unable to create io-slave:klauncher said: Error loading 'kio_trash'.or thisQuote:Could not start process Unable to create io-slave:klauncher said: Error loading 'kio_file'.orQuote:Could not start process Unable to create io-slave:klauncher said: Error loading 'kio_desktop'.Current KDE version is 4.2.2

View 2 Replies View Related

Programming :: Locating Copy & Paste Source Code?

Mar 20, 2011

I've never really taken advantage of Linux being open source before but I was wondering how the copy and paste functions look like. So far I have found out that they are handled by the X Window System (by reading this thread).But I don't seem to get much further than that.

View 1 Replies View Related

OpenSUSE Hardware :: USB Hard Drive Access - Copy And Paste Files?

Sep 27, 2010

just want to download the 60mb-ish pack of family photos from my external usb hard drive. I've gone through a multitude of wikis and help threads and can't seem to figure out how to copy and paste those files to my laptop The usb hd works perfectly as I just was using it about 1 hour ago when I still had vista on this laptop. Here's a copy of my fstab as that seems the file all the wiki's:

[Code].....

View 9 Replies View Related

General :: UNIX - Copy And Paste Between Different Bash Windows With Files Opend With VI?

Jun 15, 2011

Lets say I log in to bash, open a file in vi, then using alt-f2 I open a new terminal. After logging in I navigate to a second file and open that in vi. How can I CnP between these two files?

I found this from [URL]. I'm not familiar with this command shift-8-y-y. I follow the vimtutor and use virtual mode. I tried this sequence and was unsuccessful.

And, I read this about registers. I found a mention of using double_quote-p to 'put' or paste the register, but this does not work in a different file. The second file reported the register empty.

Alternatively, I read in the VIM docs, it is possible to open multiple files under split screens. This may be a course to a solution. The need I often encounter has me navigating in a different bash window to find a file, then wishing to copy between the two. Whereas, I imagine, a split VIM window useful for files in the same directory.

View 6 Replies View Related

Ubuntu :: USB Memory Stick Install - Not Allow To Easily Copy And Paste Files On To It

May 12, 2011

My usb stick will not allow me to easily copy and paste files on to it, or delete them once I no longer want them on the drive. Its owner is root. How can I change the owner? At the moment it is loading as a stylesheet in media/usb0.

The file is transferring at a very low speed. 74mb in 4 minutes

I suspect I will do better if I set up the drive via fstab. What entry should I put in fstab for a USB stick drive?

View 3 Replies View Related

Programming :: Coverage Testing With Gcov - Terminal Not Accepting Copy Paste?

Jun 1, 2010

I have this treacherous program in C which uses external static libraries (extern etc), and want to do a coverage test of it. The libraries are written in fortran. I compile like this Code: gcc -fprofile-arcs -ftest-coverage -o main main.c library.o I run my nice program like that

Code: ./main Then I do the magic stuff
Code: gcov main.c library.f

Ok 98% of the lines were used in main.c, and I get a file with line counts and all that. Great! But, I need to know the coverage in my library too! It says 0.0% and that's impossible. So what can I do? I can't run it like an executable because it's a library.

And why is the terminal not accepting my copy paste? I copy some lines from my IDE, then I want to paste it into the terminal (with ctrl-v of course, not some crazy local application non-standard counter-intuitive key combo made just to cause agony among honest users!), and that could've been the only problem here, but it isn't. I can't even paste with that right click menu. So, if I was crazy before, I went nuts after that. My great "solution" was to paste it into the firefox URL field (not the search field ) and then copy that and paste it into the terminal. Is that common practice for you all while dealing with that unburied DOS-window?

View 1 Replies View Related

Programming :: Script To Copy Paste Text From One File To Another (overwriting Part Of The File)?

Apr 19, 2011

I have a .txt-file with ~50.000 lines of numbers, generated by a mathematics program. From this file, I need line ~ 1.100 to line ~16.000 (these lines are always the same btw, this may make the solution easier, dunno) to be copy/pasted to another file, where the lines ~500 to ~15.000 (also, every time the same) should be overwritten by the aforementioned lines...I haven't found or come up with anything that works yet, mostly I find solutions to copy everything from one file to another but I can't find something to specifically overwrite a part of a file with part of another.

View 4 Replies View Related

Fedora :: Script To Automate Backups - Storing Copy In Root Directory

Feb 4, 2010

Making a script. This is for my linux class. Basically when you run it, whatever directory it is in, zips everything, backs it up to the folder its in, and also makes a copy of it in the root directory. Here is what I have, but its not running right.

Code:
#!/bin/bash
echo
echo
echo "Automate Backups"
echo -n "Would you like to backup? Y or N:"
read answer1
if [$answer1 = "y"]
then
if [$USER = "root"]
then
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` /"$USER"/*
cp "$USER"_backup.tar.gz.`date +%F` /backups/"$USER"_backup.tar.gz.`date +%F`
echo "Successful Backup"
fi
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` ~/"$USER"/*
cp "root"_backup.tar.gz.`date +%F` /backups/"$root"_backup.tar.gz.`date +%F`
echo "Successful Backup"

View 14 Replies View Related

Ubuntu :: No Copy No Paste In 10.04

Jun 28, 2010

Anyone know why, my copy & paste in the terminal doesn't work....it's there, just not highlighted, I need to install Sun Java and can copy the command lines from the forum I just can't paste them into the terminal. Also is there a way to check that my Ubuntu download to my USB stick is error free?

View 3 Replies View Related

General :: Can't Copy And Paste Into Cygwin

May 7, 2010

I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?

View 7 Replies View Related

General :: Vim Copy-paste Across Terminals?

Jan 19, 2011

The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?

View 1 Replies View Related

Ubuntu :: No Cut, Copy, Paste Commands In 9.10?

Jan 11, 2010

I can't Copy, paste, select all, or find with my keyboard... pretty much all the commands that involve the Control key don't work. in firefox... the edit> copy, paste , etc commands are actually grayed out too.

View 7 Replies View Related

Ubuntu :: Can't Copy Or Paste In Terminal ?

Jul 14, 2010

I'm running Lucid, and whenever I run a program in gnome-terminal that captures the mouse (dvtm, elinks, mc) I cannot highlight any text, which prevents me from copying any text from the terminal.

View 2 Replies View Related

Ubuntu :: Copy & Paste Not Working?

Aug 15, 2010

I can't copy & paste text from an Evolution email message without first pasting the text into an editor like gedit or a word processor and recopying it a second time... Then it works fine... I thought the problem may have been a Delphi forum specific problem, but it also does the same thing on this board...

I running 10.04 with the default Evolution mail program.

BTW on Delphi I can turn off the wysiwyg editor and paste as "source" and it works just fine without the paste and recopy step...

View 7 Replies View Related

Ubuntu :: 10.10 Copy/Paste - Garble ?

Oct 21, 2010

I am experiencing an issue where the first time I copy and paste it works fine. But after that it just pastes garble. I've installed glipper and if I clear the clipboard after every copy/paste its fine.

At first I upgraded from 10.04 and this came up so I thought I would just do a clean install of 10.10. It was still happening.

View 1 Replies View Related

Software :: How To Copy Paste From Vi To Browser

Dec 13, 2010

I'm trying to copy paste about 5k lines from a vi text file onto a website but obviously manually selecting the text from my screen and pasting it one page at a time is time consuming so I was wondering if there was an easier way to do this?

View 2 Replies View Related

Debian :: Can't Copy From A Web Browser And Paste Into A Shell

Feb 10, 2011

Why can't I copy from a web browser and paste into a shell?

Sometimes it works, other is does not.

I also used the right click menus to make 100% sure that COPY and then Paste were valid

View 12 Replies View Related

Fedora :: Copy And Paste From Window Vista?

May 29, 2010

I am trying to Copy and Paste a link on Fedora 8 (I am using Window Vista) and I can't find a way to do this.. I have tried "Right and Left" click at the same time... I have tried "Shift-Ctrl-C and Shift-Ctrl-V.. plus all the others with no results..
I am working from root on a Console...

View 8 Replies View Related

General :: GVim Via SSH -X Does Not Copy Paste On Selection

Nov 12, 2010

I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim and paste in a local window, nor can I select text from a local window and paste in GVim. This works, however, when I SSH (with -X specified) to a different RHEL4 box. Is there something I need to install on the remote machine? I am running Parcellite 0.9.2 on the local box, but closing it doesn't make the problem go away, and it is not interfering with the other box.

View 1 Replies View Related

General :: VIm Copy & Paste Between Apps As A Non-superuser?

Sep 13, 2011

I'm using a work computer so i don't have a root access. I've tried "+y, "*y, set clipboard=unnamed. It looks like my vim doesn't support +clipboard (version 7.0).I'm using Linux Centos 5 so fakeclips doesn't actually help (i think)It's a pain to type stuff manually from firefox to vim or other apps and vice versa.

View 3 Replies View Related

Ubuntu :: Copy And Paste Does Not Work Much Of The Time

Mar 7, 2010

In Ubuntu, why does copy and past not work for most applications. I can't tell you how many times I have copied some text and went to a new application and Past is greyed out. For example, in Firefox I can highlight some text like "Belmont Diner", then right click and choose "Copy". Then go up to the Google search bar and right click and Paste is not an option. I have tried doing this using Crtl C to copy and Ctrl V to paste. It does not work...most of the time. Every once in a while it will but most of the time it does not. I can repeat the action to make sure I really copied the data and still no luck. Sometimes it works but many times it does not.

View 4 Replies View Related

Ubuntu :: Enable Copy - Paste To Www Directory?

Mar 28, 2010

How to enable copy/paste to www directory or how to copy files to www directory?

View 7 Replies View Related

Ubuntu :: Copy Paste Is Not Working While Using Rdesktop?

Apr 23, 2010

I've tried rdesktop and grdesktop.. But i can't do copy and paste operation within windows XP machine.

View 4 Replies View Related

Ubuntu :: Copy - Paste Causes 1 Or 2 Second Freeze Of Touchpad

Jul 7, 2010

I'm using Ubuntu 10.04 64bit on a Toshiba Satellite L500 series laptop.

Every time I press ctrl c or v the touchpad freezes for a few seconds and the cursor won't move.

View 2 Replies View Related

Ubuntu :: Copy & Paste Not Working Between Apps?

Aug 17, 2010

I can copy and paste text within a document but can't seem to do so between applications. It just doesn't work.

This problem did not exist on earlier versions of Ubuntu.

Running: 10.04 dual boot on a Dell Latitude D510 with 2gig RAM.

View 6 Replies View Related

Ubuntu :: Opera Copy And Paste In To Thunderbird?

Aug 20, 2010

Whenever I try to copy and paste something from Opera to Thunderbird (or FireFox) the copied text does not appear when I select paste. (or control V) My work around is to place the copied text into a empty document, re-highlight, copy and then the paste into Thunderbird will work.

Opera Version: 10.61 Build 6430
Thunderbird 3.0.6
System x86_64, 2.6.32-24-generic

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved