Exporting e-mail addresses as text file
Hi, I've done a forum search, found lots of posts but none 'solved'.
I want to export all the e-mail addresses from Address Book as a simple .txt file
There may be a more direct way, but one thing you can do...
1.[Optional] Create a Smart Group with criteria - [Email] [is Set]
2. Go to Print - set Style to List and uncheck everything except email
3. From the Print dialog, Save As PDF
4. Open the PDF and select/copy all the text
5. Open TextEdit and Paste
6. Use a Find&Replace, if desired, to remove or separate the email identifier (work, home, etc)
If, by chance, you want just the email addresses -not the associated names- you can go through Mail instead.
1. Drag the Group to the To: of a new message
2. Ctrl-click the Group name and Expand Group
3. Select them with the mouse
4. Copy
5. Paste into TextEdit
Similar Messages
-
Is there a way to block an e-mail address from texting me?
Is there a way to block an e-mail address from texting me?
http://lmgtfy.com/?q=ios+block+imessages
-
I'm trying to import contacts from MS Outlook 2002 to my address book via a csv text file. Apple Help says to make sure that csv files do not contain line brakes, but it doesn't say what is supposed to separate lines (i.e. contacts) in the file. Any thoughts
Thanks. Thunderbird allowed me to export to LDIF, Address book can import.
Do you know of anyway to import to a specfic group in Address book? As I import these they all end up in the ALL group and I have to manually find them and sort them. -
Address Book: Text File Import broken??
In the Apple Address Book application, the File > Import > Text File... does not work for me. I get the field-mapping dialog and I can match up the fields OK, but then:
+ The OK button doesn't do anything (that I can tell).
+ Clicking the right arrow to see the first imported record works, but the left arrow is still grayed out. If I keep clicking the right arrow until I reach the last record, the right arrow grays out and the left arrow is enabled and I can back up. When backing up, both arrows are correctly enabled.
+ When browsing through the records, the spinning gear next to the arrows appears and never disappears, even though the next card has been displayed and I can go to the next card.
+ Cancel does work, and seems to be the only thing I can do.
Can someone confirm this behavior? It smells like first-draft code, and I can't believe that Apple would ship something this buggy.
If it matters: the file I'm trying to import is a csv exported from Thunderbird. Please don't tell me to use ldif; the ldif import misses a bunch of fields, which is why I wanted to use the text import where I control the field mapping myself.
Thanks in advance,
-- PhilipI have no solution, but I've encountered the same behaviour with the spinning wheel, grayed out back arrow and the other symptoms you describe with a Tab-Text file. The spinning wheel appears as soon as I try to assign an address field, while names, phone numbers and such seem to correctly preview, though no import happens. Most annoying.
-
Where are iCal, Mail, Address Book, etc. files????
If we reinstall the OS because of major problems, but the drive files are backed up, can we retrieve Mail, Address Book, iCal, etc. files? Our office assistant is tearing her hair out having to re-do everything. Supposedly it's backed up, but she can't find it...or how to RECOVER her missing data.
HELP!It was "solved" by someone else, who just dragged the files over. We've had nothing but trouble with the machine ever since. I will repost updating with the new problems....
-
Applescript to create an address list text file
I need a script to look through a selected group and get the first and name, and the 'street address' of the address whose label is 'primary'. I want to save this list as a CSV file, with a comma seperating the name from the street, and a new line/carriage return after each entry. I've done a little with applescript, but I can't quite figure this one out. Here's what I've got so far:
tell application "Address Book"
set _groups to name of every group
choose from list _groups with title "Create Address List" with prompt "Select an Address Book Group"
set theirChoice to result as string
set theContacts to (people in group theirChoice)
repeat with thePerson in theContacts
display dialog theirChoice
--get addresses & names here
end repeat
end tell
Thanks for the help.After more searching, I found this which will take care of adding the text to the text file. I just need to figure out how to get the streetAdress from the Address whose label is 'Primary'
set newText to "Name, streetAdress"
--newText will be the current contact's name/address info, and the next line adds it to the text file
do shell script "echo " & quoted form of newText & " >> ~/Desktop/PlainText.csv" -
Easiest way to import a bunch of addresses from text file to address book?
What is the easiest way to import text files to address book?
I have a Microsoft Word file with all of my addresses set-up like this:
Johnny Appleseed
Apple Computer
1234 main St.
Anytown, CT 06905
203-321-4709
[email protected]
Is there some easy way to get them in there without having to copy & paste into each individual field.
Thanks!See this thread.
AK -
Exporting list of tables to text files?
Anyone have solution for exporting list of SQL tables to text files?
My goal is to have a flexible/dynamic way to export sql tables to text files that is executed via a sql job. I plan on having a configuration table that has sqltablename, fieldstoexclude (maybe fieldstoinclude - not decided), path, filename, includeheader,
delimiter. So the SSIS package will query the configuration table and that will be the loop. One text file for each configuraton.tablename row.
Does anyone have an already built solution that they can share? I have seen some with vb script and am not opposed, but would like to have a strictly SSIS package that uses SQL queries for the solution.Try using this as your query (Remember to set the database you want to use first:
DECLARE @tableBuilder TABLE (dSQL VARCHAR(MAX))
DECLARE @tableString VARCHAR(100), @newTableString VARCHAR(100), @columnString VARCHAR(MAX), @dSQL VARCHAR(MAX) = ''
DECLARE tableBuilder CURSOR FOR
SELECT
'CREATE TABLE '+d.name+'.'+t.name ,
c.name + ' ' +
CASE
WHEN st.NAME IN ('float','image','text','uniqueidentifier','date','time','datetime2','datetimeoffset','tinyint','smallint','int','smalldatetime','real','money','datetime','smallmoney','bigint','bit','hierarchyid','timestamp','xml','geometry','geography','sql_variant','sysname') THEN st.name
WHEN st.name IN ('decimal','numeric') THEN st.name + '(' + CONVERT(VARCHAR,c.precision) + ',' + CONVERT(VARCHAR,c.scale) + ')'
WHEN st.name IN ('nvarchar','nchar','char','varbinary','varchar','binary','ntext') THEN st.name + '(' + CONVERT(VARCHAR,c.max_length) +')'
END + ','+ char(13)+CHAR(10)
FROM sys.tables t
LEFT OUTER JOIN sys.extended_properties ep
ON t.object_id = ep.major_ID
AND ep.name = 'microsoft_database_tools_support'
INNER JOIN sys.columns c
ON t.object_id = c.object_id
INNER JOIN sys.systypes st
ON c.system_type_id = st.xtype
INNER JOIN sys.databases d
ON DB_ID() = d.database_id
WHERE ep.name IS NULL AND is_ms_shipped = 0
ORDER BY t.name, c.column_id
OPEN tableBuilder
FETCH tableBuilder INTO @tableString, @columnString
WHILE @@FETCH_STATUS <> -1
BEGIN
IF @tableString <> @newTableString
BEGIN
SET @dSQL = @newTableString + char(13)+CHAR(10) + ' (' + char(13)+CHAR(10) +LEFT(@dSQL,LEN(@dSQL)-3) + char(13)+CHAR(10) + ' )'
INSERT INTO @tableBuilder ( dSQL ) VALUES (@dSQL)
SET @dSQL = ''
END
SET @dSQL = @dSQL + ' ' + @columnString
SET @newTableString = @tableString
FETCH tableBuilder INTO @tableString, @columnString
END
CLOSE tableBuilder
DEALLOCATE tableBuilder
SELECT * FROM @tableBuilder
Export the results of that as you like. -
Cannot Export Music Library to a Text file
Hi,
I just updated to Version 12. In the previous version you were able to export your itunes music listing to a text file. The feature has disappeared is there a workaround?Enable menu bar with Ctrl+B if needed.
Select the Music view.
File > Library > Export Playlist.
tt2 -
Fastest way to export to a pipe-delimited text file
I'm using Oracle 9i and need to export a table that has 150 million rows into a text file (or multiple text files based on a query that divides the table). I'd like it to be pipe-delimited and without quotes around strings.
How can this be done so that it runs fast? Keep in mind, I'm kind of a newbie.I don't know what the fastest method would be but I would put quite a bit of money on it not being the Oracle SQL Developer tool, which is the subject of this forum.
-
How to export data in to a Text File
Hi,
Can anyone provide any guidance of exporting data in an Advanced Table or data of a VO in to a Text File instead of CSV file.
ThanksExporting 5 mil records is going to require lot of memory and even if you implement, the users are not going to like it.
May be, you can implement a 'submit' button and when the user clicks submit a concurrent program. This concurrent program will generate the output file.
You can do other fancy things like displaying the status and to download the file in OAF itself.
HTH
Srini -
How to send mail to different text file
Hello experts.
I follow the example in the manual under
What I have discovered is that it will send email no matter which Organization a user is created in. e.g. Top or Top:MyOrg sent to text file ie Notification file( I use text file and not the SMTP server) and IDM 6.0
I only want Email sent if user is created in Top:MyOrg. I want it to sent to another text file.....how to customizes the workflow....Hi..........
I follow the example in the manual
What I have discovered is that it will send email no matter which Organization a user is created in. e.g. Top or Top:MyOrg sent to text file ie Notification file( I use text file and not the SMTP server) and IDM 6.0
I only want Email sent if user is created in Top:MyOrg. I want it to sent to another text file.....how to customizes the workflow....
Thaks in advance -
Send 255 char by mail attchmnt in text file using FM 'SO_NEW_DOCUMENT_ATT
Hi,
I need to send some data an email attachment in a text file (notepad). However, the data exceeds 255 chars which is why most of it gets truncated.
I am using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
Kindly provide solution for the problem. Relevant code samples would be appreciated.
Regards,
Smruthi.Hello Smrithi
it is always good to search before you post a query in SCN
find the below search
http://www.sdn.sap.com/irj/scn/advancedsearch?query=emailwithmorethan255+char
cheers
S.Janagar -
Export contacts from Address Book to File Maker Pro
How can I do this?
The contacts from Address book are vcf format, File maker doesn't seem to read this. What should I do?
Thanks a lotTry Address Book Exporter.
http://www.gwenhiver.net/address-book-exporter.html -
Exporting Hyperion Business Rules as Text files
Hyperion 9.3.1 installtion...
Does anyone have any nifty scripts or techniques for getting the HBR code out into flat files (ideally named as the Rule)...
I Know you can export via AAS, but all I want is the raw code so I can use some differencing tools on them.
Basically I've rules being changed in Prod, and Dev, and need to manage the situation.
Using the individual export option is painfully slow with 100+ rules.
Surely there is a way to query the [dbo].*AAS.HBRRules* table feild '*Body*' which is of type 'Image' and convert it into ASCII ?
Anyone done such a thing? or automated the export facility?
Cheers,
BossHogg.Here is my variant on it.
It differs in that it accepts command line parameters for SQLServer, Output Dir (defaults to {Desktop}\Rules) & DBName (defaults to AAS). It also has header size changed to 201 which works here. Finaly some of the EOF checks have been fixed as the original posting seems to have lost the 'not equals' characters...
I Save this as HBRulesExport.vbs the execute it via a batch script twice using 'start /w ....' to export Dev & Prod to two seperate dirs for comparison.
'Force "cscript"
Dim numRules
Dim ID
Dim length
Dim index
Dim headerSize
Dim fileName
Dim rule
Dim DirPath
Dim SQLSERVER
Dim DBCAT
'ORIGINAL :- headerSize = 233
headerSize = 201
Set fs = CreateObject("Scripting.FileSystemObject")
Set rs = CreateObject("ADODB.Recordset")
Set cnSS = CreateObject("ADODB.Connection")
Set shellObj = CreateObject( "WScript.Shell" )
If Wscript.Arguments.Count < 1 Then
MsgBox "This script requires at least a SQLServer DB name to get to HBRules. Parms are as follows..." & vbCrLf & vbCrLf & Wscript.ScriptFullName & " {SQL Server Name} [{OutputPath}] [{Db Name}]"
Wscript.Quit 1
Else
SQLSERVER = Wscript.Arguments(0)
If Wscript.Arguments.Count = 3 Then
DBCAT = Wscript.Arguments(2)
DirPath = Wscript.Arguments(1)
Else
DBCAT = "AAS"
If Wscript.Arguments.Count = 2 Then
DirPath = Wscript.Arguments(1)
Else
DirPath = shellObj.ExpandEnvironmentStrings("%USERPROFILE%") & "\Desktop\rules"
End if
End if
End If
if (fs.FolderExists(DirPath) = False) Then
fs.CreateFolder (DirPath)
End If
cnSS.Open "Provider=sqloledb;" & "Data Source=" & SQLSERVER & ";" & "Initial Catalog=" & DBCAT & ";" & "Integrated Security=SSPI"
strQuery = "Select max(id) from hbrrules"
rs.Open strQuery, cnSS
If (Not rs.EOF) Then
numRules = rs.fields(0)
For ID = 1 To numRules
rule = ""
strQuery = "Select name from hbrrules where id=" & ID
rs.Close
rs.Open strQuery, cnSS
If (Not rs.EOF) Then
fileName = rs.fields(0)
rs.Close
strQuery = "Select body from hbrrules where id=" & ID
Set rulefile = fs.CreateTextFile(DirPath & "\" & fileName & ".hbr", True, True)
rs.Open strQuery, cnSS
If (Not rs.EOF) Then
length = rs.fields(0).ActualSize
For count = 1 To length - headerSize - 5
index = count + headerSize
character=AscB(MidB(rs.fields(0).Value, index, 1))
If Character = 10 Then
rule = rule & VBNEWLINE
Else
' Filter for normal ASCII character range
If (Character > 31) And (character < 127) then
rule = rule & Chr(Character)
Else
rule = rule & " "
End if
End If
Next
rulefile.WriteLine(rule)
rulefile.Close
End If
End If
Next
MsgBox "Finished extracting HBRules from " & DBCAT & " on server " & SQLSERVER & vbCrLf & "Extracted " & numRules & " to Dir - " & DirPath
Else
MsgBox "Query of DB " & DBCAT & " on server " & SQLSERVER & " - Returned no rows"
End If
rs.Close
'CODE ENDS
Edited by: djhogg on 09-Dec-2008 06:30
Maybe you are looking for
-
How to print multiple copies of a single report(label) based on a variable
I have a crystal report v.9 linked to an excel file with multiple rows of information. Each row contains the label information and one column has the quanity of each label to print. What feature in crystal do I use and what is the command I will ne
-
Hi, I was trying to connect my JSP with oracle 9i(isql).I was using following code Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@hostname:1521:course","username","password"); Statement
-
Button links to different scenes
Hey all, This is so basic it's almost embarassing to post about, but I'm in a pinch and can't for the life of me figure out what's wrong... I'm using MX Professional 2004. My movie has four scenes; "Main" which plays on load, then three other scenes:
-
Screen is blacked out but calls and such still coming through...
My screen is blacked out but I still hear texts, calls, alarms, etc coming through. When I plug it in to my computer for a reset it doesn't identify the phone and there are no "portable devices" settings under "manage devices". HELP please
-
Cannot drag files to mail dock icon to compose new message with attachment
Hello, I can no longer drag images or files to the dock icon to open a compose message window with the attachment. I drag the file and nothing happens. I first noticed using skitch. Then I tried both a jpg and word .docx from finder and neither worke