[13 Aug 2010] Bug in rename instruction

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

[13 Aug 2010] Bug in rename instruction

Post by Juan Carlos »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 13 Aug 2010 11:42:03 +0000 (GMT)

Hello Andreas:

I'm working in my current project, and I use the instrution rename for graphics pictures, but what surprise for me, that the same file with the new name and same extension for example .jpg now my program doesn't recognize as graphic is more even using the instruction IsPicture neither, but is that sometimes with DM2 too I get to see this picture with the new name, what is the problem? instead of only rename, Hollywood resave the picture with the new name?

Other question is possible with Hollywood open one window and closed for example for one Player open one window with the songs list and after closed this window without closed the player? and How?

Best regards from Juan Carlos.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[17 Aug 2010] Re: Bug in rename instruction

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 17 Aug 2010 00:02:20 +0200
Hello Andreas:

I'm working in my current project, and I use the instrution rename for graphics pictures, but what surprise for me, that the same file with the new name and same extension for example .jpg now my program doesn't recognize as graphic is more even using the instruction IsPicture neither, but is that sometimes with DM2 too I get to see this picture with the new name, what is the problem? instead of only rename, Hollywood resave the picture with the new name?
Hmm, can you provide a code sample? I don't know of any bugs in Rename(). Just make sure that you put only the name in the second argument. No full path. Just the desired file name.
Other question is possible with Hollywood open one window and closed for example for one Player open one window with the songs list and after closed this window without closed the player? and How?
It's possible. You need to install and event handler on "CloseWindow" and then manually close the window using CloseDisplay(). Then Hollywood won't quit automatically.
Locked