Automator to extract words from htm pages
I am trying to perform an action in Automator to extract a single text from many htm pages. The problem is that after this single text, comes reference composed by numbers and letters. Example: I have 872 archives of htm pages which I have to extract it: (inventory number:78899b3). Is it possible to extract? This different reference of which page and send to a text edit application?
Thank you
Hi BDAqua, glad to see you again. The probem is :
872 htm archives which contains a text with many informations but the one I need in each of these pages is Inventory number:349999b for example. Inventory number is there in these 872 pages, but the reference number changes in every one. I could, by my self, transform all these pages in one Word document, Is it help? The result I' am waiting for is to have a list of these inventory numbers in a single list. Sorry if I was not clear but I am trying to learn english to.
thank you BDAqua.
Similar Messages
-
Extract text from htm page.
I am trying to perform an action in Automator to extract a single text from many htm pages. The problem is that after this single text, comes reference composed by numbers and letters. Example: I have 872 archives of htm pages which I have to extract it: (inventory number:78899b3). Is it possible to extract? This different reference of which page and send to a text edit application?
Thank youimport java.io.*;
import javaorg.xml.sax.*;
import javaorg.xml.sax.helpers.DefaultHandler;
import javax.xml.parsers.SAXParserFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
public class FirstParser
public FirstParser() throws Exception
DefaultHandler handler = new MyHandler();
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.parse(new File("test.xml"), handler);
import org.xml.sax.*;
import org.xml.sax.helpers.DefaultHandler;
public class MyHandler extends DefaultHandler
public void startDocument() throws SAXException
//start parsing document
public void startElement(String namespaceURI, String sName, String qName, Attributes attr) throws SAXException
//when <......> is opened
//in <HTML> ---- qName = "HTML"
public void endElement(String namespaceURI, String sName, String qName) throws SAXException
//when </......> is opened
public void characters(char[] buf, int offset, int len) throws SAXException
String s = new String(buf, offset, len); //<H1>This is a heading</H1> ---- s = "This is a heading"
public void endDocument() throws Exception
the end of the document
}In the MyHandler class you will tell the JVM what to do when each method is automatically triggered
this will enable you to obtain the required data from the html data -
Extract words from JSP into text file
Hi,
I have a big problem:
I want to extract selected words from a jsp file.
Following are found in one of my jsp file:
E.g.
1) <td width="217"><font face="verdana,arial" size=2>ORGANISATION UNIT NAME<font color="#FF0000"> <font
id="fontMandatory">*</font></font>
I want to retrieve "ORGANISATION UNIT NAME"
2)errPrompt(frm.txtDesc, "Maximum length is just 100 character only");
I want to retrieve "Maximum length is just 100 character only"
I try String tokenising, then check that is the token ends with ">", then the next token is the one
I want, then loop until "<" is found. BUT this would not work as there is no spacing between some of
the tags and the words.(e.g. <p>abc)--> This cauese the whole token to be <p>abc, so the "abc" will
not be extracted as it does not have a "ends with >" in front of it.
Even with using ">" as a checking does not work for pop up messages, as it does not have tags(refer
to e.g 2).
Please reply a.s.a.p...
Really urgent!!
Thank You
Michellefor extracting the HTML tags, u can use DOM/DHTML
I dont remember the syntxes, how to use, but i know that it is possible, just go thru' the DOM/DHTML
Regards,
Ritesh -
select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - ProductionI want to extract xyz_xyz,abc_abc words from the string ' select * from TEMP_TABLE where trunc(xyz_xyz) = ''xyz'' and trunc(abc_abc) = ''abc'') '
i have tried with this query...
select regexp_substr('select * from TEMP_TABLE where trunc(xyz_xyz) = ''xyz'' and trunc(abc_abc) = ''abc'')', 'trunc[^'''']+''') from dual
can some one help me on this?
Thanks,
MikeHi, Mike,
Mike wrote:
I apologize for this..
create table TEMP_TABLE ( col1 varchar2(10),col2 varchar2(10));
insert into TEMP_TABLE values(' xyz ','abc ');
insert into TEMP_TABLE values(' xyzxyz ','abcabc ');
insert into TEMP_TABLE values(' xyz123 ','abc546 ');
insert into TEMP_TABLE values('xyz','abc');
commit
select * from TEMP_TABLE where trim(col1) ='xyz' and trim(col2) ='abc'
desired output
col1,col2
So the correct output is one row, containing these 9 characters
col1,col2which do not appear in the table. is that right?
How is that output related to the data that is in the table? Do you want that output to appear if there are any rows where TRIM (col1) = 'xyz' and TRIM (col2) = 'abc' (for example, either of these two rows from you sample data:
insert into TEMP_TABLE values(' xyz ','abc ');
insert into TEMP_TABLE values('xyz','abc');), and would you want the result set to contain no rows if the table contained no row like that?
If so,
SELECT DISTINCT
'col1,col2' AS desired_output
FROM temp_table
WHERE TRIM (col1) = 'xyz'
AND TRIM (col2) = 'abc'
;I hope this answers your question.
I have a feeling that it doesn't, or perhaps you have more than one question, since this your earlier messages seemed to have something to do with locating text that was surrounded by single-quotes, and the sample data you posted doesn't contain any single-quotes. -
I'm assuming that Automator is the way to go. I've never used it before but from research it seems to be the way to go. Also, I'm not good at programming at all.
Here's a typical email...
From: [email protected]
Subject: Enquiry for Property ID: 408777039, 2 Grey Avenue, Manningham, SA 5086, Listing Agent
Date: 18 September 2013 8:33:51 PM ACST
To: Joe Jope
Reply-To: [email protected]
You have received a new lead from realestate.com.au for
Property id: 408587036
Property address: 2 Grey Avenue, Manningham, SA 5086
Property URL: www.realestate.com.au/404387039
User Details:
Name: John Bon Jovi
Email: [email protected]
Phone: 0422645633
I would like to: buy this house
Comments: Please give me a call.
I have several hundred of these emails and I want to extract the information and then save it into my CRM which is Highrise (https://highrisehq.com). If it's too difficult to get it directly into Highrise then I'm aslo happy to extract the info into excel and the import into Highrise. However I do not want to have to run through that proceedure for every single email.
I'd really like some help on how to get Automator to do this for me. Or if not Automator.. any other suggestions?
Thanks.
JohnHello
You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
if f ends with "/" then set f to f's text 1 thru -2
do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
use strict;
use open IN => ':crlf';
chdir $ARGV[0] or die qq($!);
local $/ = qq(\\0);
my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
local $/ = qq(\\n);
# CSV spec
# - record separator is CRLF
# - field separator is comma
# - every field is quoted
# - text encoding is UTF-8
local $\\ = qq(\\015\\012); # CRLF
local $, = qq(,); # COMMA
# print column header row
my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
# print data row per each file
while (@ff) {
my $f = shift @ff; # file path
if ( ! open(IN, '<', $f) ) {
warn qq(Failed to open $f: $!);
next;
$f =~ s%^.*/%%og; # file name
@dd = ('', $f, '', '', '', '');
while (<IN>) {
chomp;
$dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
last unless grep { /^$/ } @dd;
close IN;
print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
EOF
Hope this may help,
H -
Extracting information from web pages
I have chosen a really difficult topic for my dissertation at uni and need some urgent advice as I am running out of time.
I am trying to develop a program to find the cheapest hotels available in the Edinburgh area. My program will take user input (eg dates, prices range, star prefererence etc) and search the web for closest matches. I am having difficulty how to approach this tho. Any advice would be greatly appreciated.
My biggest concern is how to actually access the information I want and return it to my program. Also do you think it would be best advisable to have a list of say 10 - 15 web sites that my program uses everytime and search each page individually? I am concerened that I have chosen a really difficult project that is not going to be acheiveable. Initially if I could even get something really simple working, that would give me some encouragement. ANy ideas?
Many Thanks
AndyI have managed to set up a simple program whereby you enter the URL of any webpage and it will return the html code of that webpage. This is excatly what I will need to do. However can I send requets to a page and modify the page (eg selecting a date, no of rooms etc) and returning the html of the result. How can this be achieved??? If I can work out how to do this then I can simply parse the html result for the info I am looking for.
I appreciate some websites won't allow me to do this, but as long as I can get it working on a few sites I will be happy.
Andy -
How to extract data from web URL
I was doing one project which need to extract data from web pages and then analyze these data. the question is how to extract data from there, using html parser? need help, thanks a lot
I was doing one project which need to extract data
from web pages and then analyze these data. the
question is how to extract data from there, using
html parser? need help, thanks a lotTry this:
http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html
Or, like you said yourself, use an HTML parser:
http://java-source.net/open-source/html-parsers -
I'm trying to use automator to extract addresses from a text document. It's a long list of addresses and I eventually need to print them on to mailing labels. The trouble is having them identified, and extracted. After that I can put them into address book and take care of the printing. Any suggestions on where to start in automator?
Plain text, entries are separated by a blank line.
The format is typically:
City, State
Company
address line 1
address line 2
City, State Zip
Phone: ###-###-####
Fax: ###-###-####
E-Mail: [email protected]
Web: http://www.website.com
We're only looking to use the first 5 lines. I would like to pipe this information into address book. Then print labels from there, but that can be handled outside of automator. It's pulling the data out of the text that I'm having trouble with.
It's a a lot to do by hand. Work smarter not harder right? -
Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
thank youPages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
How will the script determine where the author's name begins and where it ends?
How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
How will the script recognize the year of publication?
For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
Best of luck.
Regards,
Barry -
Can I call a .htm page of view1 from another .htm page of view 2?
Hi,
I have a viewset QuestionnaireTabVS with a view area TABS which has two views QuestionCondnsVS (default) and View QuestionRisksVS.
When a variable say GV_TAB is set as 'Questions' it navigates to the QuestionCondnsVS view and when the variable GV_TAB is set as 'Risks' it navigates to the QuestionnaireRisksVS.
This view set QuestionnaireTabVS is contained in an overview page which has two Radiobuttons. It works fine when the first radiobutton is selected, i.e, when I click on the Questions it renders the QuestionCondnsVS view and when I click on the Risks it renders me the QuestionRisksVS view .
Problem is when I had clicked the RISK tab first and then selected the another radiobutton the rendered view QuestionRisksVS doesnt get removed
but is present there by default which I dont want.I want the QuestionCondnsVS view to be present there by default after the second radiobutton is selected. I tried to refresh all the controllers but somehow it navigates to the QuestionRisksVS only .
So i thought to call the .htm page of QuestionCondnsVS forcefully from the QuestionnaireTabVS .htm page as soon as I select the another radiobutton.
Can I call a .htm page of QuestionCondnsVS from another .htm page of QuestionnaireTabVS? If yes then how or any other suggestion is welcomeHi Dharmakasi,
The Radiobuttons code is not added in the same HTML page but lies in a different component where the coding is on event handler.
METHOD eh_onchecked.
DATA: lv_option TYPE REF TO if_bol_bo_property_access,
lv_check TYPE char1.
lv_option ?= typed_context->switch->collection_wrapper->get_current( ).
lv_check = lv_option->get_property_as_string( iv_attr_name = 'OPTION' ).
IF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
ENDIF.
ENDMETHOD.
Here the LV_CHECK = old is the first radiobutton whereas LV_CHECk = new is the second radiobutton. I have tried to set the value of gv_tab ='Question' here but again no success.
The .HTM coding of QuestionanireTABVS is
<%@page language="abap" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<% data: ls_line type CRMT_THTMLB_LINK,
lv_flag type ABAP_BOOL.
data: lv_xml type string.
if zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
REFRESH controller->gt_navlink_tab[].
* if controller->gt_navlink_tab[] is initial.
ls_line-id = 'Questions'.
ls_line-onclick = 'QUEST'.
ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
insert ls_line into table controller->gt_navlink_tab.
ls_line-id = 'Risks'.
ls_line-onclick = 'RISK'.
ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
insert ls_line into table controller->gt_navlink_tab.
%>
<%-- endif. %>--%>
<thtmlb:tray id = "HeaderExt"
indent = 'FALSE'
design = 'STANDARD'>
<thtmlb:trayHeader>
<thtmlb:grid cellSpacing = "0"
columnSize = "1"
height = "100%"
rowSize = "1"
width = "100%" >
<thtmlb:gridCell colSpan = "1"
columnIndex = "1"
rowIndex = "1"
rowSpan = "1"
>
<thtmlb:navLink links = "<%= controller->gt_navlink_tab %>"
selectedLinkId = "<%= controller->gv_tab %>" />
<bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
url = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
</thtmlb:gridCell>
</thtmlb:grid>
</thtmlb:trayHeader>
<thtmlb:trayBody>
<%
* data: lv_xml type string.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
</thtmlb:trayBody>
</thtmlb:tray>
<% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
REFRESH controller->gt_navlink_tab[].
* if controller->gt_navlink_tab[] is initial.
ls_line-id = 'Questions'.
ls_line-onclick = 'QUEST'.
ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
insert ls_line into table controller->gt_navlink_tab.
* ls_line-id = 'Risks'.
* ls_line-onclick = 'RISK'.
* ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
* insert ls_line into table controller->gt_navlink_tab.
%>
<%-- endif. %>--%>
<thtmlb:tray id = "HeaderExt"
indent = 'FALSE'
design = 'STANDARD'>
<thtmlb:trayHeader>
<thtmlb:grid cellSpacing = "0"
columnSize = "1"
height = "100%"
rowSize = "1"
width = "100%" >
<thtmlb:gridCell colSpan = "1"
columnIndex = "1"
rowIndex = "1"
rowSpan = "1"
>
<thtmlb:navLink links = "<%= controller->gt_navlink_tab %>"
selectedLinkId = "<%= controller->gv_tab %>" />
<bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
url = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
</thtmlb:gridCell>
</thtmlb:grid>
</thtmlb:trayHeader>
<thtmlb:trayBody>
<%
* data: lv_xml type string.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
</thtmlb:trayBody>
</thtmlb:tray>
<% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SCAF or
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz or
zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SOW.
REFRESH controller->gt_navlink_tab[].
* if controller->gt_navlink_tab[] is initial.
ls_line-id = 'Questions'.
ls_line-onclick = 'QUEST'.
ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
insert ls_line into table controller->gt_navlink_tab.
* ls_line-id = 'Risks'.
* ls_line-onclick = 'RISK'.
* ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
* insert ls_line into table controller->gt_navlink_tab.
%>
<%-- endif. %>--%>
<thtmlb:tray id = "HeaderExt"
indent = 'FALSE'
design = 'STANDARD'>
<thtmlb:trayHeader>
<thtmlb:grid cellSpacing = "0"
columnSize = "1"
height = "100%"
rowSize = "1"
width = "100%" >
<thtmlb:gridCell colSpan = "1"
columnIndex = "1"
rowIndex = "1"
rowSpan = "1"
>
<thtmlb:navLink links = "<%= controller->gt_navlink_tab %>"
selectedLinkId = "<%= controller->gv_tab %>" />
<bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
url = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
</thtmlb:gridCell>
</thtmlb:grid>
</thtmlb:trayHeader>
<thtmlb:trayBody>
<%
* data: lv_xml type string.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
</thtmlb:trayBody>
</thtmlb:tray>
<% endif.
%> -
How can I use Automator to extract specific Data from a text file?
I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
Example of File Contents:
Link Time =
DD/MMM/YYYY
Random
Text
161 179
bytes of CODE memory (+ 68 range fill )
16 789
bytes of DATA memory (+ 59 absolute )
1 875
bytes of XDATA memory (+ 1 855 absolute )
90 783
bytes of FARCODE memory
What I would like to have as a final file:
EXCEL COLUMN1
Column 2
Column3
Column4
Column5
Column6
MM/DD/YYYY
filename1
161179
16789
1875
90783
MM/DD/YYYY
filename2
xxxxxx
xxxxx
xxxx
xxxxx
MM/DD/YYYY
filename3
xxxxxx
xxxxx
xxxx
xxxxx
Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!Hello
You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
if f ends with "/" then set f to f's text 1 thru -2
do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
use strict;
use open IN => ':crlf';
chdir $ARGV[0] or die qq($!);
local $/ = qq(\\0);
my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
local $/ = qq(\\n);
# CSV spec
# - record separator is CRLF
# - field separator is comma
# - every field is quoted
# - text encoding is UTF-8
local $\\ = qq(\\015\\012); # CRLF
local $, = qq(,); # COMMA
# print column header row
my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
# print data row per each file
while (@ff) {
my $f = shift @ff; # file path
if ( ! open(IN, '<', $f) ) {
warn qq(Failed to open $f: $!);
next;
$f =~ s%^.*/%%og; # file name
@dd = ('', $f, '', '', '', '');
while (<IN>) {
chomp;
$dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
last unless grep { /^$/ } @dd;
close IN;
print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
EOF
Hope this may help,
H -
How do I save formatting from Word docs to pages?
Hi
Often when I open a word document in Pages I get a document warning pop up box. Often I find that basic things from the Word doc have been changed. For example, things that were in Bold text in the Word doc are no longer in Bold in the Pages file. How do I prevent this from happening as the document moves back and forth between myself ( a Pages user) and a clien (who has Word)?Hello
As far as I know, Word create faux-style when a bold or an italic version of a font isn't available.
In such case, bold or italic will be dropped in Pages.
From my point of view it's a good choice but it may hurt some users.
Yvan KOENIG (VALLAURIS, France) lundi 13 juin 2011 16:18:30
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Color changes when exporting to PDF from Apple Pages or Word
When I export to PDF from Apple Pages or Microsoft Word, there is a noticable color shift.
The RGB color values that are 23, 76, 140 in Pages for a medium shade of blue like this but appear as 50, 61, 134 with a decidedly purple cast like this in the PDF.
Has anybody else run into this problem? Any tips for troubleshooting?Thanks for the reply. It was created using Apple Pages. I tried exporting to PDF in two different ways, both with the same result.
1. Within Apple Pages, one can click File > Export > PDF
2. The other option is to click Print > PDF > Save as PDF
I also tried this second method with Microsoft Word, and again the color was altered. Any suggestions that you can provide to resolve this issue will be very helpful. -
Opening a word file from oaf page
Hello all,
we have a word file which we need to open from OAF page. Is it possible to achieve this using personalization? If yes, please give me the steps. If not, we we need to go for customization to achieve this, whichis the approach on that?
Thank You in advance. Your suggestion is very valuable for me.
Regards
KKHi there,
Yes you can do this using personalization. Simply go to the page where you want it and add a new item type LINK. The text property is the text the user will see for the link and the URI is the hyperlink to the file. Say for instance you had a word document named test.doc and you want to put it into the OA_MEDIA directory.
The URI would be /OA_MEDIA/test.doc. Non local based files would be of the form http:// etc.
If you set the destination frame to blank (literally enter the word blank), then it will open in a new window.
Hope this helps.
Kristofer Cruz
Edited by: Kristofer Cruz on Nov 7, 2011 2:06 PM -
I need an addon to extract music files from web pages like myspace.
I'm running Firefox 23 on Ubuntu 12.04. I would like to be able to extract/download music files from web pages like MySpace. I searched through the addons but didn't find any. Is there and addon to download music from MySpace?
There's a Search box at addons.mozilla.org which you can use. <br />
[https://addons.mozilla.org/en-US/firefox/search/?q=MySpace+downloads&appver=23.0&platform=windows MySpace downloads addons search]
The first one listed there says it works with MySpace.
Maybe you are looking for
-
Create a view to shows data from multiple rows in a single column
Hi all - this is probably posted in the wrong forum but I couldn't find which was the correct one. I am almost a complete novice at sql but I have a need to create a view which can be developed at 10g (which runs efficiently as the volumes are likely
-
Adding field in the standard report
Hi , i have added the one field in the standard transaction VL06 , in the outboud deliveries report according to the Note 605460. I have to add the field in LIPOV structure. after adding that field(include structure), in output i am not getting that
-
Need to change the Idoc Status based on the Text in the Idoc
Hi All, I have developed Idoc--SOAP Sync Process Scenario Using BPM and Works Perfectly. I have used STATUS.SYSTAT01 Idoc to capture the Response that is comming from the Webservice. I have mapped the response Text( Success or Fail) to one of the fie
-
Probelm regarding timing when insert a record
hello all, i want to insert a time with date in my one of my column how can i do that can i use sysdate or to_date(sysdate) right now it shows me 12.0. in my timing . any help appriciated .
-
Help - HD to SD???
So my brother was working on a project at the same times as I was and set the preferences to HD. I ended up doing all of my work in that setting, not realizing until I went to burn it. My final product can't be HD. Is there any way to get the project