Page 3 of 3

Posted: Thu Dec 22, 2005 11:13 pm
by macton
ulrik wrote:I have a little problem with the "copy and paste generic scripts", when copying on a selected Group layer I get this message : 140: "tmpname" not supported, and when pasting at a vector layer (not that anything is copied I guess) I get this: 269: bad argument #1 to 'open' (string expected, got nil)
I'm using macintosh osx 10.4.3
OK. I updated the script, it should work for you now. I don´t see a standard method for creating a temporary file name cross-platform, so I´m just creating a tmp file in the current directory.

If someone knows a cross-platform os.tmpname() replacement, let me know and I'll switch to that.

Posted: Thu Dec 22, 2005 11:14 pm
by ulrik
Okey, thank you.
You're very kind and helpfull.

Posted: Thu Dec 22, 2005 11:21 pm
by ulrik
Yeah, now it's working :D great!