Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
TatshSiow committed Jan 30, 2024
1 parent 1fb2b89 commit 5e1d144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoRefresh.vbs → SSAR_v1.1.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Select Case response
"timeout /t 1 /nobreak >nul" & vbCrLf & _
"rem Start SmoothScroll.exe" & vbCrLf & _
"start """" """ & smoothScrollPath & """\SmoothScroll.exe""" & vbCrLf & _
"timeout /t 5 /nobreak >nul" & vbCrLf & _
"timeout /t 1200 /nobreak >nul" & vbCrLf & _
"goto LOOP"

' Save the batch script content to a temporary file
Expand All @@ -27,7 +27,7 @@ Select Case response
objFile.Close

' Run the batch script with the window visible
objShell.Run "cmd /k " & tempBatchFile, 1, True
objShell.Run "cmd /k " & tempBatchFile, 0, True

' Clean up the temporary batch file
objFSO.DeleteFile(tempBatchFile)
Expand Down

0 comments on commit 5e1d144

Please sign in to comment.