- Joined
- Aug 14, 2007
- Messages
- 29
- Reaction score
- 0
- Points
- 1
- Location
- Upper Michigan
- Your Mac's Specs
- Macbook Pro 2.2GHz 15.4" 2GB RAM
So im trying to figure out a way to import a text file of a list of buddys into Adium.
The text file is in this format:
So far all I can do is loop through the file and display each line in a prompt:
Any help would be appreciated.
The text file is in this format:
Code:
Buddy {
list {
"Group Name" {
ScreenName
ScreenName
ScreenName
}
"Group Name" {
ScreenName
ScreenName
}
}
}
So far all I can do is loop through the file and display each line in a prompt:
Code:
tell application "Finder"
set Names to paragraphs of (read (choose file with prompt "Choose File"))
repeat with nextLine in Names
if length of nextLine is greater than 0 then
display dialog nextLine
end if
end repeat
end tell
Any help would be appreciated.