Re: [Nautilus-list] Nautilus Scripts Web Page



Darin Adler wrote:

on 9/3/01 9:08 PM, Ben Ford at ben kalifornia com wrote:

Yeah, there's multiple ways, dialog, etc.  But it would look more
"unified" if Nautilus did them.

If you have a specific suggestion about how the dialogs that a script can
create are second-class citizens, then I'd be happy to consider it. But I'd
like you to try something first, and then tell me what's wrong with it,
rather than guessing without trying it.


I am meaning that it would be more visually appealing if all scripts that used dialogs used the same ones, rather than some using tk, some using curses, etc. My suggestion is to simply incorporate something like Xdialog (http://xdialog.free.fr/) into Nautilus, or even just include it as a standard gnome package.

Also, am I reading this right in that
to view something from a script you need to open a new window and there
is no way to manipulate the current view?


Yes, but you're kind of coming at it backwards. There's already a way to
tell Nautilus to open a new window. It's not specific to a "Nautilus
script". Anyone can do that from the command line. Ways to manipulate
existing windows from the command line could be added too.

I personally would be more likely to work on this if I was given a
particular specific example where I can see how a script would work much
better if it was given a way to change an existing window or view from the
command line, rather than the general principle that it "ought to be there".


I already gave you a few.

Image viewing. It'd be nice to have a script to automatically resize your window to the best size to view an image. If I had to open a new window, I'd just pop open ee. Much faster that way at least.

Converting a word doc to text and viewing it. Same thing, if I had to open a new window, I'd just open gless.

Previewing web scripts. I can already use a shell script to run a PHP script and pop open a Mozilla window. (Actually, mozilla has -remote). But it would be nice to just be able to click on a script and have it run and display results in the HTML preview.

I hate opening loads of new windows to do anything.


-b


--
Number of restrictions placed on "Alice in Wonderland" (public domain) eBook: 5

Maximum penalty for reading "Alice in Wonderland" aloud (possible DMCA violation): 5 years jail

Average sentence for commiting Rape: 5 years







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]