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.
[13 Aug 2010] Bug in rename instruction
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[17 Aug 2010] Re: Bug in rename instruction
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 17 Aug 2010 00:02:20 +0200
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.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?
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.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?