Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Quick App idea

Quick App idea
Thread Tools
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
Aug 26, 2002, 12:01 PM
 
It would be an internet bookmark program with a dock menu:

The window would be a table with columns for Name of Site and Address

and at the bottom when you click on an address, the information comes up in two text field to edit..

then, the names of the site would go into a dock menu, for easy accesablity.

eh?
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 26, 2002, 04:52 PM
 
That would take seconds in Cocoa . Expect something tonight (my time—it's morning now).
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
Aug 26, 2002, 05:43 PM
 
Originally posted by Ibson:
That would take seconds in Cocoa . Expect something tonight (my time—it's morning now).
Can you call it Internet Links or iLinks?

i made a cool icon: homepage.mac.com/nebagakid/.Pictures/iLinks.icns
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 27, 2002, 06:03 AM
 
I've written the app, complete with toolbar and funky icons. I just need to add: sorting of the table (easy...I already have code) and dock menu compatibility with 10.1: I don't have Jag yet, but in the release notes it states that a message received from a dock menu has the menu item as its sender. I'm setting the URL as the menu item's represented object; from 10.2 I can simply use that to open the URL. In 10.1, however, I've no idea how to retreive any information about the menu item that was selected. It's possible; OmniWeb does it, but if anyone can help (I'll post the final code), it would be greatly appreciated.
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
Aug 27, 2002, 11:42 AM
 
Originally posted by Ibson:
I've written the app, complete with toolbar and funky icons. I just need to add: sorting of the table (easy...I already have code) and dock menu compatibility with 10.1: I don't have Jag yet, but in the release notes it states that a message received from a dock menu has the menu item as its sender. I'm setting the URL as the menu item's represented object; from 10.2 I can simply use that to open the URL. In 10.1, however, I've no idea how to retreive any information about the menu item that was selected. It's possible; OmniWeb does it, but if anyone can help (I'll post the final code), it would be greatly appreciated.
Thanks! It seems like everything is going well so far though... i like the idea of a toolbar and funky icons...i like toolbars, especially when they are cool!
     
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status: Offline
Reply With Quote
Aug 27, 2002, 04:14 PM
 
Cool!

J
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 28, 2002, 02:30 AM
 
Here's the full source and binary (the actual application):
http://acquaminerale.bebto.com/InternetLinks.tgz
Control-click to download it to disk.
The dock menu selection will only work on Jaguar. Maybe someone can help...
Note: the URL icon is from Jaguar's keychain; the link add/remove icons are just OmniWeb's bookmark icon with plus and minus icons added; while the application icon is from a guy I know at OmniGroup. So it's all illegal .
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 28, 2002, 02:34 AM
 
I should also note that it's really lazy code—I've all crammed into a single class. Nothing wrong with it technically, but it's a poor example .
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
Aug 28, 2002, 09:35 AM
 
Originally posted by Ibson:
Here's the full source and binary (the actual application):
http://acquaminerale.bebto.com/InternetLinks.tgz
Control-click to download it to disk.
The dock menu selection will only work on Jaguar. Maybe someone can help...
Note: the URL icon is from Jaguar's keychain; the link add/remove icons are just OmniWeb's bookmark icon with plus and minus icons added; while the application icon is from a guy I know at OmniGroup. So it's all illegal .
WHOAW! This is great! this is exactly what I wanted...i did this before with AppleScript, but I could not edit it in a table like this.

I thought up some unnecessary features!

Animated Dock Icon (no practical purpose, like when you select a URL, you can choose to have it show something flowing through the icon..?)
More Toolbar Icons (they do not need to do much, I just like being able to have a lot of options, maybe Print?)

and can you put a pop-up window in a table view? because then you can save people the time to type http:// or mailto: right?



BUT: For what I proposed in the beginning, this is more than exactly what i wanted, thank Ibson!!
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Aug 28, 2002, 05:34 PM
 
I don't mean to sound funny, and I'm not diss-ing your app (great icons btw.) But you don't actually need an app to do this - I just stick a folder full of URLs in the dock. You can organise them hierarchically and rename them in the finder.

You know it makes sense. ☼ ☼ ☼ Growl.
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
Aug 28, 2002, 06:22 PM
 
Originally posted by Diggory Laycock:
I don't mean to sound funny, and I'm not diss-ing your app (great icons btw.) But you don't actually need an app to do this - I just stick a folder full of URLs in the dock. You can organise them hierarchically and rename them in the finder.

i know but i like this better because it is a better interface i believe
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
May 10, 2003, 10:10 AM
 
Originally posted by Ibson:
Here's the full source and binary (the actual application):
http://acquaminerale.bebto.com/InternetLinks.tgz
Control-click to download it to disk.
The dock menu selection will only work on Jaguar. Maybe someone can help...
Note: the URL icon is from Jaguar's keychain; the link add/remove icons are just OmniWeb's bookmark icon with plus and minus icons added; while the application icon is from a guy I know at OmniGroup. So it's all illegal .
hey, do you still have the code from it? I tried the link, but it did not work... I wanted to look through the code, now that I know Cocoa much better than I did then!
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
May 10, 2003, 10:13 AM
 
Oh yeah, I still use this program! THANKS!
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
May 11, 2003, 03:27 AM
 
I've re-emerged just for you. Consider yourself lucky . I just feel so special about the whole "you're still using it" thing.

Well, here it is:
http://acquaminerale.bebto.com/InternetLinks.tar.gz

Don't tell anyone I wrote it. Please. It's a pretty bad example of programming but, hey, it only took like 10 minutes to make. By the way, don't use underbars for private methods. Naughty me. And I don't know what I was thinking with the uppercase static variables.

Enjoy .
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
May 11, 2003, 03:36 AM
 
Oh and you said about wanting to not need to type "http://" or "mailto:". Well, it's been in there from day one (which I'm sure you've found out by now). If it doesn't find "http://", "ftp://", or "mailto:" in the URL (which isn't really the best way of doing it), it first looks for an "@" in the URL, and if so, turns it into a mailto: address. Otherwise, it turns it into an http:// address.
     
Mac Elite
Join Date: Sep 2000
Location: 'round the corner
Status: Offline
Reply With Quote
May 11, 2003, 07:14 AM
 
sweetness thanks!
How hard would it be to get the favicons of those sites, and put them into the menu? What would have to be done? I mean, wouldn't it include be getting the favicon offline, storing somewhere, or something, creating a a new item in the dictionary, adding a "icon" column, making the dock menu also have an icon

i guess it would involve a lot more work, right>

i just implemented the iTunes like NSTableView rows..... thanks again!
(Last edited by Nebagakid; May 11, 2003 at 07:29 AM. )
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
May 12, 2003, 01:43 AM
 
Originally posted by Nebagakid:
...
i guess it would involve a lot more work, right>
....
Uh huh. *Runs back into outside world forever*.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2