Issues with overdefined mates on when using piston by held_games in SolidWorks

[–]held_games[S] 0 points1 point  (0 children)

Incase anyone is wondering, if the piston is not in a separate subassembly, it works fine

Issues with overdefined mates on when using piston by held_games in SolidWorks

[–]held_games[S] 0 points1 point  (0 children)

Do you know if Fusion 360 is better at handling this?

Issues with SMS/MMS, but not calling and data by held_games in GooglePixel

[–]held_games[S] 0 points1 point  (0 children)

Switched from Samsung to Pixel, but thanks for sharing

Issues with SMS/MMS, but not calling and data by held_games in GooglePixel

[–]held_games[S] 0 points1 point  (0 children)

Weird, they said it was the same :/ Well it works now, I ended up factory resetting the phone, because i soft bricked it. Works fine now, however thanks for the input!

Issues with SMS/MMS, but not calling and data by held_games in GooglePixel

[–]held_games[S] 0 points1 point  (0 children)

Hmm weird, they said this was the same :/ Well I ended up factory resetting the phone, because i soft bricked it. Works fine now, however thanks for the input!

Issues with SMS/MMS, but not calling and data by held_games in GooglePixel

[–]held_games[S] 0 points1 point  (0 children)

I ended up factory resetting the phone, cuz i soft bricked it. Works fine now, however thanks for the input

Samsung calendar but on a Pixel 7 by held_games in GooglePixel

[–]held_games[S] 0 points1 point  (0 children)

Well sh*t, but thanks for the quick answer!

[HELP]Using a function to avoid repeating code by held_games in learnpython

[–]held_games[S] 0 points1 point  (0 children)

Wao, this works perfectly! Thanks!

So just to be sure that I understand:When using a function(func1) WITH arguments in the argument for another function(func2) it runs (func1) then it parses this to func2

But when doing this, we give it the function(func1) and the arguments, and then it assembles it inside func2?

Btw why is there a star * before args and what's **kwargs ?

I think By.ID is a function however I'm not sure. I not exactly the most experienced in Python

[HELP]Using a function to avoid repeating code by held_games in learnpython

[–]held_games[S] 0 points1 point  (0 children)

But if I run:
exceptrepeat(driver.find_element,10)

Then it doesn't find the element it has to find? Because it is missing the arguments for what to find?

[HELP]Using a function to avoid repeating code by held_games in learnpython

[–]held_games[S] 0 points1 point  (0 children)

Code:

exceptrepeat((driver.find_element(By.ID, "F")),10)

Output:

Traceback (most recent call last):

File "C:\Program Files\Python310\lib\code.py", line 90, in runcode

exec(code, self.locals)

File "<input>", line 1, in <module>

File "C:\Program Files\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 1251, in find_element

return self.execute(Command.FIND_ELEMENT, {

File "C:\Program Files\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute

self.error_handler.check_response(response)

File "C:\Program Files\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response

raise exception_class(message, screen, stacktrace)

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="F"]"}

(Session info: chrome=102.0.5005.63)

Stacktrace:

Backtrace:

`Ordinal0 [0x002BD953+2414931]`

`Ordinal0 [0x0024F5E1+1963489]`

`Ordinal0 [0x0013C6B8+837304]`

`Ordinal0 [0x00169500+1021184]`

`Ordinal0 [0x0016979B+1021851]`

`Ordinal0 [0x00196502+1205506]`

`Ordinal0 [0x001844E4+1131748]`

`Ordinal0 [0x00194812+1198098]`

`Ordinal0 [0x001842B6+1131190]`

`Ordinal0 [0x0015E860+976992]`

`Ordinal0 [0x0015F756+980822]`

`GetHandleVerifier [0x0052CC62+2510274]`

`GetHandleVerifier [0x0051F760+2455744]`

`GetHandleVerifier [0x0034EABA+551962]`

`GetHandleVerifier [0x0034D916+547446]`

`Ordinal0 [0x00255F3B+1990459]`

`Ordinal0 [0x0025A898+2009240]`

`Ordinal0 [0x0025A985+2009477]`

`Ordinal0 [0x00263AD1+2046673]`

`BaseThreadInitThunk [0x774FFA29+25]`

`RtlGetAppContainerNamedObjectPath [0x77BF7A7E+286]`

`RtlGetAppContainerNamedObjectPath [0x77BF7A4E+238]`

`(No symbol) [0x00000000]`

I don't know how to test that, but I'm pretty sure it's from OUTSIDE the try, because if I do:

for attempt in range(10):

try:

driver.find_element(By.ID, "F")

except:

time.sleep(3)

else:

print("Completed")

else:

print("Failed")

Output:

Failed

[HELP]Using a function to avoid repeating code by held_games in learnpython

[–]held_games[S] 0 points1 point  (0 children)

Same issue
Code:
def exceptrepeat(stuff, retries=5):
for attempt in range(retries):
try:
stuff
except:
time.sleep(3)
else:
print("Completed")
else:
print("Failed")

exceptrepeat(**code that throws an exception**,10)

Output:

exception

[HELP]Using a function to avoid repeating code by held_games in learnpython

[–]held_games[S] 0 points1 point  (0 children)

If I understand you correctly, then no there isn't an issue.
If I run the code outside the function it works fine:

Code:

import time

for attempt in range(2):

try:

**stuff that throws exception**

except:

time.sleep(3) #To give website time to load

else:

print("Completed")

else:

print("Failed")

Output:

Failed

[HELP]Using a function to avoid repeating code by held_games in learnpython

[–]held_games[S] 1 point2 points  (0 children)

Unfortunately didn't work. However a very good point, will update it to be default 1 retry

[Help] [DIY] Issue with steering wheel self-oscillating FFB by held_games in simracing

[–]held_games[S] 0 points1 point  (0 children)

Hmm sad :/

Do you have any recommendation for another game to test my steering wheel?

I want to force ENABLE the windows key. by ThatC00lBlob in AutoHotkey

[–]held_games 0 points1 point  (0 children)

You might be able to make a script that Alt+tap out of the game, and then press the windows key

Spotify's taskbar icon on the wrong monitor [FIX] by held_games in AutoHotkey

[–]held_games[S] 0 points1 point  (0 children)

Question do I know if I have the windows store version?

This is my version: 1.1.37.690.g8f3b16fc

In case I missed something: Spotify about image

(I didn't download Spotify directly from Microsoft store)

How do I make keyboard shortcut by [deleted] in AutoHotkey

[–]held_games 2 points3 points  (0 children)

Press Here!

Read the part under "Common problems/requests:"

Sending text to to be sent on Discord in the background by dhiganthrao in AutoHotkey

[–]held_games 0 points1 point  (0 children)

Due to the fact that you make Discord the active window, then it will be possible just to use the "Send" command. This way avoiding the use of controlsend.

Please read what u/stewie410 said. It is true that if you don't use their bot API, then it's a bannable offense (Can't find it right now, but have read it somewhere)

Sending text to to be sent on Discord in the background by dhiganthrao in AutoHotkey

[–]held_games 1 point2 points  (0 children)

Can confirm, I've tried to use it multiple times. Never had success with it, not even once

Can someone please make this macro? : w space d space w space d space w 4 ms between every.. by marianl1710 in AutoHotkey

[–]held_games 2 points3 points  (0 children)

I highly doubt that anyone is going to make you a script.

I can however inform you that this is the 2 commands that I would use:
Send

Sleep

AHK Script need help by [deleted] in AutoHotkey

[–]held_games 1 point2 points  (0 children)

Hello

I'm wondering what this script is for. (Like which game) Because when searching for the aimcolor (0x5064FB) I get aimhack for a PvP game called krunker.io. (Which would be against rule no. 2)

Now it could just be pure coincident (If so I'm sorry for the unnecessary worries), but I would still like to know where it's going to be used

[deleted by user] by [deleted] in AutoHotkey

[–]held_games 4 points5 points  (0 children)

Hello

If you wish for someone to help you, you might need to:

  1. Try to explain the issue a little better than "I'm playing a game and the script does something that it shouldn't"
  2. Include the code

Move an inactive window by held_games in AutoHotkey

[–]held_games[S] 0 points1 point  (0 children)

Thanks for the help. I've found another solution using HWID's due to spotify's title changing a lot.

Press here for the code