--- In [email protected], Cüneyt <[EMAIL PROTECTED]> wrote:
>
> swzoh wrote (on 10.08.2006 14:33):
>
> > rename dummy.bmp to dummy1.bmp (:I think you can do it although it's
> > still in use, maybe only on NTFS, not on FAT32)
> > then copy new bmp to dummy.bmp
>
> Hi Sean,
>
> I wish it was so, but caching files as a Filesystem-feature would be
> fatal for many applications. OTOH, you can rename or delete the bmp w/o
> a problem, since it's not used by PP once it's loaded into memory.
> In order to try it, you can simply add following line before the 2nd
> file.copy command in Test2.powerpro:
>
> file.rename(_outpath ++ ?#dummy.bmp#, _outpath ++ ?#dummy1.bmp#)
>
> I'm working on an NTFS system. Any more idea?
My original guess was that the directory list of PP wasn't updated.
It's based on the assumption that PP's current working directory was
set to the directory where the dummy.bmp file resided. If
Win.Debug(Win.GetWorkingDir("c=PowerProMain")) outputs other
directory, then my guess will become completely wrong. And, even if it
outputs the bmp's directory, it would have a difficulty to explain to
still have the deleted bmp file as the background, without being cached.
Anyway, if Win.GetWorkingDir("c=PowerProMain") returns the bmp's
directory, would you try to set the PP's working directory to other
directory first using Win.SetWorkingDir(?"path"), then to reset the
bar's background?
Sean
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/