Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Eazkk123

macrumors member
Original poster
Jan 17, 2007
62
0
In the middle of re-opening the tabs from my last session it crashed again and now I get untitled along with a few pages it did open.

I converted history.plist into xml and opened it using textedit. This is where I am stuck; Now I want to remove all the programming language, strings, integers and so on and just be left with the sites which all begin with http:// then save this as a new text document and reopen the links as tabs in safari. Maybe this can be done with Apple Script?

Help really appreciated

Here is a snippet of the code

Code:
<dict>
			<key></key>
			<string>http://support.apple.com/kb/TA24670?viewlocale=en_US</string>
			<key>lastVisitedDate</key>
			<string>249328260.6</string>
			<key>title</key>
			<string>Mac OS X 10.4: Reading .plist preference files</string>
			<key>visitCount</key>
			<integer>1</integer>
		</dict>
		<dict>
			<key></key>
			<string>http://forum.insanelymac.com/lofiversion/index.php/t102510.html</string>
			<key>lastVisitedDate</key>
			<string>249328251.1</string>
			<key>title</key>
			<string>InsanelyMac Forum > Trying to convert my plist with video and audio strings to hex = "Bus error"</string>
			<key>visitCount</key>
			<integer>1</integer>
		</dict>
		<dict>
			<key></key>
			<string>http://www.macosxhints.com/article.php?story=20050430105126392&query=filenames</string>
			<key>lastVisitedDate</key>
			<string>249328250.4</string>
			<key>title</key>
			<string>macosxhints.com - 10.4: Convert new plist files between XML and binary</string>
			<key>visitCount</key>
			<integer>1</integer>
		</dict>
		<dict>
			<key></key>
			<string>http://codesnippets.joyent.com/posts/show/749</string>
			<key>lastVisitedDate</key>
			<string>249328242.1</string>
			<key>title</key>
			<string>CodeSnippets: Convert plist files from binary to xml and back again [osx] [terminal]</string>
			<key>visitCount</key>
			<integer>1</integer>
		</dict>
		<dict>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.