MAC OS X Problems
Klaus Major
klaus at major-k.de
Wed Jul 9 00:00:00 EDT 2003
Bon jour Yves,
> HI
>
>> on mouseUp
>> set itemDel to "/"
>> put item 1 to -2 of the filename of this stack into mypath
>> create folder (myPath & "/newuserfolder")
>> rename folder (myPath & "/newuserfolder") to (myPath & "/")
>> end mouseUp
>> Works fine here...
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, Multimedia & Design
>
> It doesn't work if in your path you have an existing folder wtih
> diacriticals
> f. ex.
> myPath is /users/<myName>/xxx/yyy/
> then
> add your code
>> create folder (myPath & "/newuserfolder")
>> rename folder (myPath & "/newuserfolder") to (myPath & "/")
>
> it won't work !!!!
>
> I repeat, at this time, waiting the team of revolution for fixing the
> bug, I think it's bette with Applescript
any special reason why my (working!) code snippet with "get shell..."
does not work for you?
Less code than with AppleScript ;-)
> Greetings.
>
> Yves COPPE
> yvescoppe at skynet.be
>
Regards
Klaus Major
klaus at major-k.de
www.major-k.de
More information about the use-livecode
mailing list