Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/10/2012 in all areas

  1. ripdad

    WMI Query v1.04

    There are a number of available programs for WMI that will show you information on Class Objects. After many hours of research and testing, this is my small version. It mainly serves as a reference. If you're working on a script, you'll still have to find an "example" on the web (if you can find one), as this program won't provide you with any. What will it provide? The script queries information from WMI on your computer. If the information exist, then you'll be able to view: - Data Types - Descriptions - Mappings - Origins - Syntax for Methods - System Properties for Classes - and Other Useful Information Sometimes, a particular class seems to be missing some information or has very little. If you find what it's "Origin" is... sometimes you can glean something from it's parent. -- Here are a few links from MSDN that might be of interest: WMI Reference http://msdn.microsoft.com/en-us/library/windows/desktop/aa394572(v=vs.85).aspx Standard WMI Qualifiers http://msdn.microsoft.com/en-us/library/windows/desktop/aa393651(v=vs.85).aspx MOF Data Types http://msdn.microsoft.com/en-us/library/windows/desktop/aa392392(v=vs.85).aspx -- Let me know if any problems. Thanks. Version: 1.04 WMI_Query.au3 Update: April 08, 2012 * added: Cache, saved in @AppDataDir\WMI_Query_Cache * added: _DeleteCache(), Press F9 to delete. * added: WM_GETMINMAXINFO(), GUI minimal resize. Update: April 09, 2012 * fixed: HTML tags (left and right arrows) in some WMI strings, causing some data not to display. Update: April 11, 2012 * fixed: Method Names that have a void CIMType. Would cause method name not to display. Update: May 22, 2012 Adjusted the height for the combo's. The x64 restriction has been removed.
    1 point
  2. For embedding/using icons in compiled EXE script use #AutoIt3Wrapper_Res_Icon_Add=C:Program FilesAutoIt3Iconsau3.ico #AutoIt3Wrapper_Res_Icon_Add=C:Program FilesAutoIt3Iconssecond_ico.ico and for loading _WinAPI_GetModuleHandle("") _WinAPI_LoadImage() + IMAGE_ICON type as parameter or LoadIcon API function or you can use GUICtrlSetImage() + @ScriptFullPath You can look at my Resource to some similar using of resources. Icons are so simple that my Resources UDF is not needed.
    1 point
  3. How do you think it'll look with some syntax highlighting? Perhaps that'd help.
    1 point
  4. What game is it for?
    1 point
  5. My new scripting language now has a name - voo. File extension .voo. V stands for Virtuoso Music Script and oo comes from the following responce. Still no interpreter, but I have tightened a few nuts and bolts. Here is the first voo file ever. "Mozart - Menuetto in C Major" ;_______________________________________________________________________________ [Flute] G 5C E C G B G 6C 5B G G G G G (•146) (3/4)|:§ • |• • • |• • • |þ. |þ • |• - - •| % | [Flute] , E G B 5D 4B 5C 4B 5C D E F# G 4G B 5C C 4B 5C D D C D (•146) (3/4)|:§ • |• þ |• • • |- - - - - - |• • • |• - - •|• - - • | [Trumpet] , , G , , , 5E E D E F F E F (•146) (3/4)|:§ • |þ. |þ • |þ. |þ. |• - - •|• - - • | [Trumpet] 3G 4C E C 3G , 4G C , 5C 4G , G G G G (•146) (3/4)|:§ • |• • • |• • • |• • • |• þ |• - - •|% | [Timpani] 2G 3C C 2G G A A A G G G G G G G (•146) (3/4)|:§ • |þ • |þ • |• • • |• - - - -|þ. |þ. | ;¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ;_____________________________________________________________________ G A B 6C , 5D 4B 5C D G F# G F G 4B 5C D , • • • |• • fin :|• |þ • |- - - - - - |þ •|• • Ø DS/Ø|Ø DC/fin|| 4B 5C D C , 4B G A , G A B , • • • |• • fin :|• |þ • |þ. |þ •|• • Ø DS/Ø|Ø DC/fin|| 4G A B G , , 5G , G 4G • • • |• • fin :|• |þ._ |• þ |þ._ |• • Ø DS/Ø|Ø DC/fin|| 3G G G 4C , , 3G G G 4G 3G G G G , • • • |• • fin :|• |• • • |þ. |• • •|• • Ø DS/Ø|Ø DC/fin|| G G G 3C , 2G G G G G G G • • • |þ fin :|• |þ. |• • • |þ. |• • Ø DS/Ø|Ø DC/fin|| ;¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    1 point
  6. This is what is wrong: While Not .EOF $Model &= .Fields("fields_15").value $Model2 &= .Fields("Department").value .MoveNext WEnd Instead if it try: Dim $Model[1][2] $i=0 While Not .EOF $Model[$i][0] = .Fields("fields_15").value $Model[$i][1] = .Fields("Department").value .MoveNext $i = $i+1 Redim $Model[$i+1][2] WEnd _arraydisplay($Model)
    1 point
  7. How about this example, based on and using UEZs excellent to include the icons ? 3.3.6.1 _LV_Checkboxes.zip 3.3.8.0 _LV_Checkboxes.zip Edit: Removed subitem highlighting again. Default highlighting for listviews is per row / item and implementing it per subitem is more complex than I thought. Also key movements would have been taken into account, a mechanism simulating a per subitem highlighting and tracking would have to be implemented, thus I thought removing the highlighting altogether is much more easy ... but I've added three functions to check, uncheck and query the states of all subitems. Edit2: Added a new version for 3.3.8.0.
    1 point
×
×
  • Create New...