radio
Guest
Muccias graccias!nome = left (objdoc.name, lazy(objdoc.name) -4)
p.s. as soon as I find the time I study the functions len and left.
Muccias graccias!nome = left (objdoc.name, lazy(objdoc.name) -4)
considering that it is not said that every time you save in pdf you will need to send in a single email,can you add a "email send" after saving the file in pdf?
Hi.
' Custom commands to be added immediately after rescue commands
fullfilepath = path + "\" + name + "." + "pdf"
'open the rescue folder and select the file
createobject("wscript.shell"). exec("explorer /select,""" + fullfilepath + """)
'Open the file with the default program
createobject("wscript.shell").run("""" + fullfilepath + """)
But if the doc folder doesn't exist how I make it?call objdoc.saveas (path + "\doc" + name + " - material." + "pdf") ' save by name
function file_exist(filename)
dim fso
set fso = createobject("scripting.filesystemobject")
file_exist = fso.fileexists(filename)
set fso = nothing
end function
the forum you eat backslash before the vergolettethe sign non sarà \doc bensì \doc\ .
- if the draft draws multiple 3d files must process them all or just the first?would be ideal to export them all - export optionsmust be kept those of the last exported file for all files - is it preferable to enter the question 'Export 3d in step format?you would be very useful the option. - the only big problem could be if I opened both the draft and the 3d and they're both unsaved.if both dft files and 3d model are opened export should not work.should be simple enough. the logic of operation must be defined in a unique way.
if the draft draws multiple 3d files must process them all or only the first?
is it preferable to enter the question 'Export 3d in step format?' or not?
It should also be taken into account that export options are generally saved and maintained by the last modification. is valid for any type of file, for example if for the pdf carry out in black and white but to do a work imposed by hand "color" after always carry out in color: what troubles create me with step / iges ? a pdf opens for verification in a few seconds, a step is already more complicated.
the only big problem could be if I opened both the draft and the 3d and are both unsaved: in that case the right questions should be studied to first rescue the 3d then carry out in step, close(?) the 3d (without saving because made to the previous passage so the date of the step is next to the original 3d) , then save the draft then exporto in pdf
if you want to save on fixed path on server:errorsthe following errors occurred during the delivery of the message.
andri.can chose not to receive private messages or may not be enabled to receive private messages. So you can't send him your message.
the office "complication simple things" Unfortunately it is present in all companies :biggrin:it is possible to do everything just that the rules are simple, the rules are decided by people so they cannot be simple because of nature people are complicated and unordered, so it is necessary to simplify life because it is already complicated of its own.