Sha256: 164819b99b9939344238d2537034b21c0a7e82a0124bca5a225c632fbbd13930
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
module Vapir AutoItDLL=File.join(File.expand_path(File.dirname(__FILE__)),'AutoItX3.dll') def self.autoit @@autoit||= begin begin WIN32OLE.new('AutoItX3.Control') rescue WIN32OLERuntimeError system("regsvr32.exe /s \"#{AutoItDLL.gsub('/', '\\')}\"") WIN32OLE.new('AutoItX3.Control') end end end end
Version data entries
7 entries across 7 versions & 1 rubygems