Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/14/2014 in all areas

  1. Melba23

    New MVPs

    And please extend your congratulations to Malkey as well - the invitation obviously took the slow boat to the Antipodes. M23
    3 points
  2. JLogan3o13

    SCCM UDF

    I am finally back at a customer location where I could work with Microsoft System Center Configuration Manager, and wanted to update the script from >this thread. This time around, rather than a full GUI it is simply a UDF, allowing the user to employ the functions however they would like. This has been tested on 2012 and 2012 R2; unfortunately I no longer have any customers with access to 2007. Currently there are 11 public functions; will continue to update and provide examples as I get a chance. There is also an _SCCM_Constants.au3 that needs to be copied to the Includes directory. Updated 10/14/2014: Added _SCCM_DeletePC function and example Updated 04/12/2015: Added _SCCM_RefreshCollection function and example _SCCM.au3 _SCCM_Constants.au3 Examples:
    1 point
  3. guinness

    Regex exactly 15 digits

    Not really, as knowing when to use a regular expression is just as important of what is the correct regular expression to use.
    1 point
  4. ummm...no for several reasons 1. We teach how to fish, not give fish 2. Your request makes no sense. Translate to what? 3. what have you tried already? so far nothing....
    1 point
  5. GraaF1337, Not too difficult: #include <GUIConstantsEx.au3> $hGUI = GUICreate("Test", 500, 500) $cGraphic = GUICtrlCreateGraphic(20, 20, 200, 200) GUICtrlSetBkColor($cGraphic, 0x000000) ; Set start position GUICtrlSetGraphic($cGraphic, $GUI_GR_MOVE, 10, 10) ; Set line colour GUICtrlSetGraphic($cGraphic, $GUI_GR_COLOR, 0xFFFFFF) ; Draw outside square GUICtrlSetGraphic($cGraphic, $GUI_GR_LINE, 10, 190) GUICtrlSetGraphic($cGraphic, $GUI_GR_LINE, 190, 190) GUICtrlSetGraphic($cGraphic, $GUI_GR_LINE, 190, 10) GUICtrlSetGraphic($cGraphic, $GUI_GR_LINE, 10, 10) ; Move to bottom corner GUICtrlSetGraphic($cGraphic, $GUI_GR_MOVE, 10, 190) ; Draw diagonal lines GUICtrlSetGraphic($cGraphic, $GUI_GR_LINE, 100, 100) GUICtrlSetGraphic($cGraphic, $GUI_GR_LINE, 190, 190) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
    1 point
  6. . So true. But I just learned that other style parameters—plus font size—help make it easier to adapt characters for use. Here's an example using the box character: Required code: $symbol = ChrW(9642) ; Unicode for small square in Arial : $choice1 = GUICtrlCreateCheckbox("", 400, 88, 20, 20, BitOR($BS_AUTORADIOBUTTON, $BS_PUSHLIKE, $BS_CENTER, $BS_VCENTER)) GUICtrlSetFont(-1, 24, 400, 0, "Arial") : . Of the ones I've tried, I think this gives the best overall effect. But suggestions are welcome, of course.
    1 point
  7. Good idea ! But the number of characters that appear "correctly" is limited... With Segoe UI Symbol font, you can also try with ChrW ( 10173 )
    1 point
×
×
  • Create New...