Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2012
    Posts
    27

    LuaCom Plugin help

    obj = luacom.GetObject ( "winmgmts:\\\\.\\root\\cimv32");
    if (obj ~= nil) then
    objEnum = obj:ExecQuery("Select * from Win32_TemperatureProbe");
    if (objEnum ~= nil) then
    enum = luacom.GetEnumerator(objEnum)
    item = enum:Next ()
    while item do
    str_product = tostring(item:CurrentReading())
    Dialog.Message("",str_product);
    item = enum:Next()
    end

    end
    end

    Malfunctioned ?

  2. #2
    Join Date
    May 2006
    Posts
    1,688
    Luacom and WMI do not work properly on Vista and Windows 7
    you probably encountered same issue
    code will not function even if it is correct

    the base of this problem is paranoid security system of Windows
    amsplugins.com Is Closed.

    Facebook Page

  3. #3
    Join Date
    May 2006
    Posts
    1,688
    i do not help anyone who violates the forum rules
    i do not know who is Kintaro
    in addition , i already replied your question clearly
    amsplugins.com Is Closed.

    Facebook Page

  4. #4
    Join Date
    Feb 2012
    Posts
    27
    I'm sorry If I violate the forum rules. Are there any alternative solution on this issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts