Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Posted in: Widget Development

Drag 'n drop = Filevalue

Author Message
bonAveo



Joined: 26 Apr 2005
Posts: 28
Location: Lillehammer, Norway

Posted: Thu May 05, 2005 - 9:18 pm    Post subject: Drag 'n drop = Filevalue Reply with quote

Hi,
I neew something like a Javascript that gathers information about a file draged and droped on the widget.

Actually I just need a field or something with support for drag n' droping files into it.

Can anyonw help me with this?
_________________
Visit my homepage!

View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger Widgets
frankenstein



Joined: 08 May 2005
Posts: 2

Posted: Sun May 08, 2005 - 5:01 pm    Post subject: Reply with quote

Take a look at the Dropper example widget that comes with the Developer Tools in 10.4. I don't know which file attributes exactly you want to display, but you might want to set AllowSystem=true for your widget, call "stat" through widget.system() on the dropped file and parse and display the output.
View user's profile Send private message Send e-mail Widgets
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

 
Powered by phpBB © 2001, 2002 phpBB Group