Are the users running CF on their workstations?

On Wed, 30 Mar 2005 17:05:35 +1000, Jason Barnes <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Does anyone have any experience with getting coldfusion to interact with
> windows script. Specifically things like system environment etc?
> 
> I can connect ok to network object and shell object but can't get
> environment object to work. e.g
> 
> <!--- Try to connect to the Wscript.Network COM object --->
> <cftry>
> <!--- If it exists, connect to it --->
> <cfobject type="COM"
> name="objWshNet"
> class="Wscript.Network"
> action="CONNECT">
> <cfcatch>
> <!--- if the object doesn't exist, create it --->
> <cfobject type="COM"
> name="objWshNet"
> class="Wscript.Network"
> action="CREATE">
> </cfcatch>
> </cftry>
> 
> <cftry>
> <!--- If it exists, connect to it --->
> <cfobject type="COM"
> name="objWshShell"
> class="Wscript.Shell"
> action="CONNECT">
> <cfcatch>
> <!--- if the object doesn't exist, create it --->
> <cfobject type="COM"
> name="objWshShell"
> class="Wscript.Shell"
> action="CREATE">
> </cfcatch>
> </cftry>
> 
> Basically for an intranet project (help desk submit form) i need to get the
> users memory amount, computer manufacturer and computer model. Is this even
> possible with cf?
> 
> Thanks,
> Jason.
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to