Hi,
I have set up a HTA that displays training modules for users WITHIN my office.
The problem I have is finding out what modules each person has actually attempted (even viewing a second of it would suffice!).
Using login scripts, I can place shortcuts on everyones desktop and/or start menu to the HTA file.
The HTA file consists of 2 frames:
[tt]
+------------+------------------------+
| Module 1 | |
| Module 2 | |
| Module 3 | This is where the |
| Module 4 | module loads and |
| | is a video clip |
| | using swf |
| | |
| | |
+------------+------------------------+
[/tt]
When the user clicks on say Module 1, the swf file is loaded into the right frame.
Is there any way to write a file to a network folder (everyone will have write permissions)?
With batch files, this would be easy, by simply:
[tt]echo %USERNAME% - Module 1 >> \\server\folder\log.txt[/tt]
or even:
[tt]echo Completed >> "\\server\folder\%USERNAME% - Module 1.txt"[/tt]
It doesn't really matter how the files are saved, be it:
[tt]
| FileName | Contents |
|------------+-----------------|
| Aubs.txt | Module1 |
| | Module2 |
| Andrew.txt | Module2 |
| | Module3 |
|____________|_________________|
[/tt]
or
[tt]
| FileName | Contents |
|------------+-----------------|
| log.txt | Aubs-Module1 |
| | Andrew-Module2 |
| | Andrew-Module3 |
| | Aubs-Module2 |
|____________|_________________|
[/tt]
Thanks in advance for any help provided
Aubs
I have set up a HTA that displays training modules for users WITHIN my office.
The problem I have is finding out what modules each person has actually attempted (even viewing a second of it would suffice!).
Using login scripts, I can place shortcuts on everyones desktop and/or start menu to the HTA file.
The HTA file consists of 2 frames:
[tt]
+------------+------------------------+
| Module 1 | |
| Module 2 | |
| Module 3 | This is where the |
| Module 4 | module loads and |
| | is a video clip |
| | using swf |
| | |
| | |
+------------+------------------------+
[/tt]
When the user clicks on say Module 1, the swf file is loaded into the right frame.
Is there any way to write a file to a network folder (everyone will have write permissions)?
With batch files, this would be easy, by simply:
[tt]echo %USERNAME% - Module 1 >> \\server\folder\log.txt[/tt]
or even:
[tt]echo Completed >> "\\server\folder\%USERNAME% - Module 1.txt"[/tt]
It doesn't really matter how the files are saved, be it:
[tt]
| FileName | Contents |
|------------+-----------------|
| Aubs.txt | Module1 |
| | Module2 |
| Andrew.txt | Module2 |
| | Module3 |
|____________|_________________|
[/tt]
or
[tt]
| FileName | Contents |
|------------+-----------------|
| log.txt | Aubs-Module1 |
| | Andrew-Module2 |
| | Andrew-Module3 |
| | Aubs-Module2 |
|____________|_________________|
[/tt]
Thanks in advance for any help provided
Aubs