Bookmarks/Favorites buttons

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

Locked
Modnway
Posts: 7
Joined: Wed Jun 07, 2006 10:21 am

Bookmarks/Favorites buttons

Post by Modnway »

Does anyone have code or know how to make a bookmark /favorites dropdown menu like Explorer. I thought I saw a post at one time but can't find it anymore. :( I think it would probably need to use Neos Filewrite feature somehow.
User avatar
Rox_Folder
Posts: 10
Joined: Wed May 31, 2006 11:55 am

Post by Rox_Folder »

hummmm, maybe this help too

FileWrite "[PubDir]favorites.txt" "Append" "[words]"
ListBoxAddItem "ListBox1" "Append" "[words]"
FileLen "[PubDir]favorites.txt" "[total]"
The [TRUE] is in here.
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

Re: Bookmarks/Favorites buttons

Post by fkapnist »

Modnway wrote:Does anyone have code or know how to make a bookmark /favorites dropdown menu like Explorer. I thought I saw a post at one time but can't find it anymore. :( I think it would probably need to use Neos Filewrite feature somehow.
I am looking for a similar function for the Neobook browser.....

This will open the Favorites folder. Icons can then be dragged and dropped into the Neobook browser window to open them .... I am not sure how to add new items from Neobook to the Favorites.

InternetLink "C:\Users\[UserName]\Favorites"

:?:

.
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Bookmarks/Favorites buttons

Post by Neosoft Support »

Favorites are just text files with a .url extension. You should be able to open them using FileRead or create them using FileWrite. Here's an example:
[DEFAULT]
BASEURL=http://www.time.gov/timezone.cgi?Pacific/d/-8/java
[InternetShortcut]
URL=http://www.time.gov/timezone.cgi?Pacific/d/-8/java
IDList=
IconFile=http://www.time.gov/favicon.ico
IconIndex=1
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
NeoSoft Support
Locked