thx Johannes! How you suggest i allowed System Access for macros with ctrl+shift+M and now it works... but files pdf aren't store in directory. I check and the path where i want to save exists on my machine. I set even the UAC (User Access Control) on my windows 7.
Another question is how i can automate in qlik System Access for macros, because when i close and then restart qlik i have to allow System Access again.