Kevin Cozens a écrit :
> On 07/21/2009 03:57 PM, Nico wrote:
>> http://www.gimp-attitude.org/forum/viewtopic.php?t=5904&sid=b4258adb87aec27867805ea3ea02ed91
>>

Hi

Thanks

>> I have got enough 2 problems :
>> - I can't run it on a directory that have a peripheric location on
>> Windows (DVD, usb-key...) - look at the SF-DIR return
> 
> I can't comment much on this. The script should not care where the files 
> are located.

I'm sorry but I don't understand what problem do you have ? (problem to
translate :( ) Do I understand the script doesn't work at all ?

I test it on different configuration (GIMP 2.4 Linux, 2.6 winXP), and
there is no problem with directory/files on harddrive.

In this script, the file path on windows c:\dir\test is changed to
/dir/test. If not, file-glob doesn't work with a win'path
Lines 74 to 86

> 
>> - I can't run the script when no image is opened
> 
> There is an error in the script-fu-register block. The image type is 
> listed as "*" when it should be "".

Thanks, it works :)
I didn't find this information.

> 
>> One question more : why some script's name are begun with _ ?
> 
> I don't know of any scripts where the names start with _. The use of - 
> vs. _ within a name depends on the conventions of the particular 
> scripting language used.

You can see it by example :
(script-fu-register "script-fu-3d-outline-logo"
  _"3D _Outline..."
  _"Create a logo with outlined text and a drop shadow"
in /usr/share/gimp/2.0/scripts/3d-outline.scm

Nico

> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer



_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to