At 1:51 am +0100 17/03/01, Detlef Lindenthal wrote: >Your and Nobumis programm gave me the thought of trying a >little step ahead: Thank you for your kind comments. However a word of warning: the 'regex' looking for /TEXT/ and /styl/ are not really secure. Both strings can (and do) occur in places other than at the beginning of the relevant sub-string. For example almost the first trial involved a passage in which the _selected_ text included by chance the words '...styled text...', so of course that matched /styl/ and caused a nasty incident. So we really need to find a better way of isolating 'TEXT', 'styl' (and others like 'PICT' for example) from the string returned by LMGetScrapHandle. It must be set out somewhere in IM: the question is where. If anyone can give a reference to the bit of IM which deals with the structure of the clipboard it would be most helpful. Alan Fry
- [MacPerl] StyledText data into a record of text and styl Nobumi Iyanaga
- Re: [MacPerl] StyledText data into a record of text... Detlef Lindenthal
- Re: [MacPerl] StyledText data into a record of text... Bart Lateur
- Re: [MacPerl] StyledText data into a record of text... Nobumi Iyanaga
- Re: [MacPerl] StyledText data into a record of text... Alan Fry
- Re: [MacPerl] StyledText data into a record of text... Detlef Lindenthal
- Re: [MacPerl] StyledText data into a record of text... Alan Fry
- Re: FW: [MacPerl] StyledText data into a record of ... Alan Fry
- Re: FW: [MacPerl] StyledText data into a record of ... Ronald J Kimball
- Re: [MacPerl] StyledText data into a record of text... Alan Fry
- Re: [MacPerl] StyledText data into a record of text... Bart Lateur
- Re: [MacPerl] StyledText data into a record of text... Ronald J Kimball
- Re: [MacPerl] StyledText data into a record of text... John W Baxter
- Re: [MacPerl] StyledText data into a record of ... John W Baxter
- Re: [MacPerl] StyledText data into a record of ... John W Baxter
- Re: [MacPerl] StyledText data into a record of text... Detlef Lindenthal