a girl@a boy@a dog@.... and so on
I want to in some way split this file at those "@" so they become small files that are named like this 01.txt 02.tx ..
i tried csplit but i couldnt get it to work
any type of help would be appreciated
tell application "Finder"
set theNumber to ""
repeat 5 times
try
make new folder at ((path to desktop) as string) with properties {name:"Text fragments " & theNumber}
set theFolder to (((path to desktop) as string) & "Text fragments " & theNumber & ":") as string
exit repeat
on error theError
if theError is "The operation could not be completed because there is already an item with that name." then
set theNumber to theNumber + 1
end if
end try
end repeat
end tell
property pathToDesktop : "Macintosh HD:Users:yourusername:Desktop:"To...
property pathToDesktop : "Macintosh HD:Users:Steve Jobs:Desktop:"
pafmax, on Dec 10 2007, 07:48 PM, said:
iMichael, on Mar 3 2010, 02:11 PM, said:
0 members, 0 guests, 0 anonymous users