Two questions in one here.. just to see if I can solve them in one go! Any solutions much appreciated:
1) Am I right in thinking the API can't tell me the project's filename? I'd have thought it would be logical to want to know the current name - in one case I have a script which generates an HTML page with a table showing plug-ins in use within in a project, but I can't head the table automatically with the project filename)
2) I have used WshShell.SendKeys (yuck!) to get round a problem of accessing an un-implemented feature but i find it doesn't seem to process the instructions until after completing the rest of the script. Is there any type of "DoEvents" or "wait" that can be done here?
Otherwise I could try a "Wscript.Sleep" but I'm not sure that this is a reliable way to resolve the issue.
Thanks in advance
drew
1) Am I right in thinking the API can't tell me the project's filename? I'd have thought it would be logical to want to know the current name - in one case I have a script which generates an HTML page with a table showing plug-ins in use within in a project, but I can't head the table automatically with the project filename)
2) I have used WshShell.SendKeys (yuck!) to get round a problem of accessing an un-implemented feature but i find it doesn't seem to process the instructions until after completing the rest of the script. Is there any type of "DoEvents" or "wait" that can be done here?
Otherwise I could try a "Wscript.Sleep" but I'm not sure that this is a reliable way to resolve the issue.
Thanks in advance
drew