Opening bookmarked html page problem
Opening bookmarked html page problem
- Subject: Opening bookmarked html page problem
- From: "KyungHoon Kang" <email@hidden>
- Date: Mon, 5 Nov 2007 21:12:57 +0900
Hello.
I want to open html file and show bookmarked page.
So, I used openURL or LSOpenCFURLRef
NSURL *yourURL = [NSURL URLWithString:@"file:///path/file.htm#bookmark"];
[[NSWorkspace sharedWorkspace] openURL: yourURL];
NSURL *yourURL = [NSURL URLWithString:@"file:///path/file.htm#bookmark"];
LSOpenCFURLRef( (CFURLRef)yourURL, NULL);
But Both can't show bookmarked location, only show top page of html file.
I tested Safari and firefox. Maybe it's a bug.
Is there other solution this problem?
If it can't be solved, please give me tips apple script to show bookmarked
location in opened page.
Thanks,
KyungHoon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden