Jump to content

Website Database


SlimShady
 Share

Recommended Posts

Updated!

Do you have an idea how the GUI should look like for this program?

(Anyone can reply to this question)

Until then I'll be playing with Visual Basic.......

Think about software that you use that have effective dialog boxes. Often configuration dialogs may have similarities to your tool in that the user makes a selection and then may take an action. (Choose an operation and then carry it out.)

Look at the System Properties in the Control Panel, also in the Control Panel chect the TweakUI dialog. Check the Tools->Options dialog in MS Word, and the same one in MS Excel andt Tools->Internet Options in MSIE.

Start out with a dialog that is too big, they're easier to trim down than to size up, it also help cut down on the collisions between the elements of the dialog.

In your tool each of the 3 groupings (ADD/EDIT/DELETE, IMPORT/EXPORT, and SEARCH) could be a tab in a dialog. Within the area of that tab in the dialog, all of the operations for that grouping could be handled.

Gene

Edited by Gene

[font="Verdana"]Thanks for the response.Gene[/font]Yes, I know the punctuation is not right...

Link to comment
Share on other sites

  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

When in ADD mode, you could let it loop until a blank/NULL URL was entered.

When adding/editing keywords remind the user that these are the object of the "Find/Search" option. They are, aren't they?

I have been equating Categories with the folders you can create in MSIE Favorites, if that is correct, do you plan to support multiple levels of categories? For example, in my favorites for Government I have the following folder structure:

..Govt

.......State

............County

.................City

While I'm thinking of this I can't import my favorites, the error is

ÿ

Line 0:

$Url = $ReadUrl[2]

$Url = $ReadUrl[^ ERROR

Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.

Gene

[font="Verdana"]Thanks for the response.Gene[/font]Yes, I know the punctuation is not right...

Link to comment
Share on other sites

First: Your error.

It probably means that the filename of the URL contains invalid characters.

Check your favorites for weird characters and replace 'em.

Yeah, I had that error too. When I debugged the script, I found that out.

I'll try to display a user-friendly dialog box when this error occurs,

including which file contains the problem.

About multi-level categories.

Creating the categories how they are now was hard enough...

I'll see what I can do. But I can't promise anything.

About the GUI.

Summary of ideas:

- a tab for every section

- a listbox that lists all categories

- when you highlight a category, and click View Items, it will show the items from that category

- So, buttons for every action (not all actions)

- If you have more ideas please post...

What's the best way to view the items?

Link to comment
Share on other sites

I made progress with the multi-level categorising.

At the moment I will only add 1 one sublevel.

For every sublevel it takes alot of time.

I added the ability to search through all categories for an item.

I will upload the result when I fully implemented the multi-level categorising.

Link to comment
Share on other sites

Updated:

Added support for subcategories/subdirectories,

importing/exporting/adding/deleting/renaming

(only one subcategory/subdirectory allowed)

NOTE:

Importing

If you have a folder2 in folder1, folder2 will be a category underneath the category 'favorites'.

Exporting (to favorites)

Every sub-category will be placed under the master-category.

You will see the subcategories when you want to add/edit/delete categories.

You can't add categories in a sub-category, so don't.

Link to comment
Share on other sites

Coming along nicely, slim :lol:

My MSIE favourites are quite extensive, so your applet holds a lot of promise for me. But because I have so many links and categories, the MsgBox and InputBox display of information doesn't fit in my screen :)

Cyberslug wrote a debugger that inspired me with lots of ideas for using a "console" to display information: if you use WinActivate(AutoItWinGetTitle()) to open the console, you can get user commands from a spartan InputBox(). The big plus is the resizable scrolling window for you to display results and prompts ( :D )

Possibly not the GUI solution you were thinking about .. but a nice lateral approach. :huh2:

Hope this helps!

Link to comment
Share on other sites

That's my point - you can't resize the screen .. which is why I'm suggesting you have a clook at what you get from WinActivate(AutoItWinGetTitle())

Try out Cyberslug's debugger - i posted the link above :D

Link to comment
Share on other sites

That's my point - you can't resize the screen .. which is why I'm suggesting you have a clook at what you get from WinActivate(AutoItWinGetTitle())

Try out Cyberslug's debugger - i posted the link above  :D

Sorry, I didn't get that hint.

I'm implementing it right now.

Today I'll upload the new version.

EDIT:

Updated.

- I added the 'debug' window as an option (disabled by default)

You can enable it by editing the script;

Find this:

$EnableBigWindow = "No"

Change No to Yes

I have a feeling that my script isn't working 100%.

Can someone please test it thoroughly?

Thank you.

Link to comment
Share on other sites

This looks really useful!!

Can I add one suggestion..

First a comment - this is going to look really good when you get the GUI up and running.

A suggestion.

At the moment when you display a result - you are using a Message box - this means that you can't highlight the result -then copy and paste it into the browser. When you get the GUI bit working - you will have many more options for displaying the results - you could use an edit box - this would allow us to copy result to browser.

Just a thought...

Keep up the good work :D

Link to comment
Share on other sites

Meantime, you can achieve the same thing with the debug / console window: ask the user to select an entry for copying to clipboard, and then use the ClipPut function. :D

Link to comment
Share on other sites

Meantime, you can achieve the same thing with the debug / console window: ask the user to select an entry for copying to clipboard, and then use the ClipPut function.  :D

I'm sorry to disappoint to you: don't expect it soon.
Link to comment
Share on other sites

Updated.

NOTE:

Existing Users

If you used my script before and created a website database and want to use the new version,

you will have to update the database using the following script:

...http://NeoAngelo.3x.ro/scripts/UpdateWDB.au3...

Copy/paste it in a new browser window to download and run it once in the

same folder as the WebsitesDB.ini

I added the ability to sort everything alphabetically (once) using a simple commandline argument:

sort

You will have to run the above commandline argument (once) if you have an existing website database, else it will be done automatically when you add items/categories.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...