smemhack 5.11.10__py3-none-any.whl → 5.11.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
smemhack/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
1
  from .main import *
2
- __version__="5.11.10"
2
+ __version__="5.11.12"
Binary file
smemhack/main.py CHANGED
@@ -37,12 +37,18 @@ def hack(number):
37
37
  try:
38
38
  exercise=py.locateCenterOnScreen(e,grayscale=False)
39
39
  py.click(exercise)
40
- time.sleep(0.5)
41
- question=py.locateCenterOnScreen(q,grayscale=False)
42
- question=question[0]+100
40
+ time.sleep(1)
41
+ qn=py.locateCenterOnScreen(q,grayscale=False)
42
+ question=qn[0]-50,qn[1]
43
43
  qnext=py.locateCenterOnScreen(n,grayscale=False)
44
44
  qexit=py.locateCenterOnScreen(ex,grayscale=False)
45
45
  except:
46
+ py.keyDown("alt") # Simulate pressing down the Alt key
47
+ time.sleep(1) # Wait for 1 second to ensure the key press is registered
48
+ py.press("tab") # Simulate pressing the Tab key to switch between applications/windows
49
+ time.sleep(1) # Wait for 1 second to allow the switch to complete
50
+ py.keyUp("alt") # Release the Alt key
51
+ time.sleep(1)
46
52
  print("can't locate")
47
53
  os._exit(0)
48
54
  tttnnn = time.time() # Record the current time (used later for measuring total process time)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smemhack
3
- Version: 5.11.10
3
+ Version: 5.11.12
4
4
  Summary: A Python library to automate online homework tasks with AI and system control.
5
5
  Home-page: UNKNOWN
6
6
  Author: Dickily
@@ -0,0 +1,11 @@
1
+ smemhack/__init__.py,sha256=EPqqAoupOBxohfUTKfEWerBHp6fl_fMBf3sol_CnsvY,42
2
+ smemhack/main.py,sha256=KdGtXKr6PnJY2TLC5iETR6igcKD4XSsxzUEWRaW5ErY,8380
3
+ smemhack/images/exercise.PNG,sha256=vM_byly_GRI022Y4rYNHOkwPMUAeiyrIhT8n-H1BZMg,453
4
+ smemhack/images/exit.PNG,sha256=VYxVolgLiuSz7BnSpFgbyKlZzDNhLsuyyVdHOUEOsqA,454
5
+ smemhack/images/next.PNG,sha256=TSqR8yA5UEDN4gMHJuFRKGMvGwJ8XyHR_q-tyA3KUMk,1827
6
+ smemhack/images/question.PNG,sha256=cfz7Izu9Yld-bOXWU8tRK0xJN2o1gyHtt0fjNmlkeiM,370
7
+ smemhack-5.11.12.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
8
+ smemhack-5.11.12.dist-info/METADATA,sha256=9BnCBRQ6YtvvW563r3sDVxh433EyQsVrX1tICtcrxCg,2211
9
+ smemhack-5.11.12.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
10
+ smemhack-5.11.12.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
11
+ smemhack-5.11.12.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- smemhack/__init__.py,sha256=QvEjRqu_RnWZslJqMgtwua4dR1PZAE-jlVeUbCT4GG8,42
2
- smemhack/main.py,sha256=EJytWiNgtyoBHkT6eGy2HhI6vyN3OJ-udixASJjYZH0,7998
3
- smemhack/images/exercise.PNG,sha256=vM_byly_GRI022Y4rYNHOkwPMUAeiyrIhT8n-H1BZMg,453
4
- smemhack/images/exit.PNG,sha256=VYxVolgLiuSz7BnSpFgbyKlZzDNhLsuyyVdHOUEOsqA,454
5
- smemhack/images/next.PNG,sha256=TSqR8yA5UEDN4gMHJuFRKGMvGwJ8XyHR_q-tyA3KUMk,1827
6
- smemhack/images/question.PNG,sha256=GpSAVAmhJ_K8q0Xh-tBbuLFKM-PMrEzcQZlWDBqR2rU,502
7
- smemhack-5.11.10.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
8
- smemhack-5.11.10.dist-info/METADATA,sha256=0Lx2LmdMESd3-PVmPDjjiy1bhb0cIxip-ZyRVn3gzbg,2211
9
- smemhack-5.11.10.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
10
- smemhack-5.11.10.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
11
- smemhack-5.11.10.dist-info/RECORD,,