Jump to content

goodmanjl531

Active Members
  • Posts

    62
  • Joined

  • Last visited

Community Answers

  1. goodmanjl531's post in API CALLS was marked as the answer   
    i was able to get it figured out..
     
    #include <Inet.au3> #include <json.au3> $url = "https://.flowgear.net/CLIST1?auth-key=<AUTHKEYHERE>" $data = _INetGetSource($url) $json = _JSON_Parse($data) $text = _JSON_Get($json, 'Data') ConsoleWrite($text)  
  2. goodmanjl531's post in Trailing Zeros was marked as the answer   
    I found my issue, i was pulling incorrect data on the first line  
     
    $pretax = $storedata_5[$Line5][9] $e9 = StringFormat("%.8f", $pretax) & "|"  
  3. goodmanjl531's post in Unwanted Data conversion in Excel was marked as the answer   
    I was able to convert my dates to a standard date format and just use sting manipulation to create date in format i need.
     
    $predate = $storedata_5[$Line5][11] $e12 = StringLeft($predate, 4) & "-" & StringMid($predate, 5, 2) & "-" & StringMid($predate, 8, 2) & " 00:00:00.000|" $predate = $storedata_5[$Line5][12] $e13 = StringLeft($predate, 4) & "-" & StringMid($predate, 5, 2) & "-" & StringMid($predate, 8, 2) & " 00:00:00.000|"  
     
  4. goodmanjl531's post in date input and manipulation was marked as the answer   
    figured out the issue i changed to.
     
    $Date_FY_YearStart = GUICtrlCreateDate("2022/01/01", 23, 96, 134, 105)
    Local $sStyle = "yyyy/MM/dd"
    GUICtrlSendMsg($Date_FY_YearStart, $DTM_SETFORMATW, 0, $sStyle)
     
    and it works.
  5. goodmanjl531's post in call a spowershell script to run elevated was marked as the answer   
    was able to find answer..
     
    RunAsWait($sUserName, @ComputerName, $sPassword, 0, "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy Bypass -file c:\ts\Reconfigure-Printer-V0.5.ps1")  
  6. goodmanjl531's post in _FileListToArrayRec issues was marked as the answer   
    after running again found one issue needed to change the last pipe to a semicolon...
    $aList_YYYY = _FileListToArrayRec($sPath_YYYY, "20*.*|" & $CurrentDef & ";" & $LastDef, 2, 0, 1)
×
×
  • Create New...