Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hi,

es ist an sich ein sehr kleines Problem. Ich möchte, dass das makro alle %time% sekunden einen klick ausführt. diese Variable berechne ich vorher per Zufallsverfahren, dass ein Wert ca zwischen 2-3 herauskommt, nur das klappt nicht und ich weis einfach nich warum :(

Hier der Code:

%system%=200

%galaxie%=8

<LOOP=%galaxie%>

		<LOOP=%system%>

			Calc={1*Sin(RND(1))^2+2},time

			ClickL=821,158

			Wait=%time%,second

		</LOOP>

	ClickL=680,160

	Wait=3,second

	MousePos=783,162

    MouseButton=1,1

	Wait=1,second

	MousePos=738,156

    MouseButton=1,0

	Wait=1,second

	Text=01{ENTER 2}

	Wait=3,second


</LOOP>

kann mir da jemand helfen?

Hi,

das Problem liegt hier:

Calc={1*Sin(RND(1))^2+2},time

du kannst die Zuffalszahl nicht in der Variable %time% speichern, die ist reserviert (für die aktuelle Zeit). Nehme etwas anderes, zB t. Außerdem muss die Zuffalszahl eine Ganzzahlige Zahl ohne Nachkommastellen sein, also musst du das mit INT umklammern, - verstehe nicht warum du noch Sinus und ^2 nimmst ;) so geht das:
Calc={int(RND(1)*2)+2},t

Wait=%t%,second

au weia...

und ich such mir genau die Variable, die ich nicht nutzen darf xDD

vielen dank, funzt nu prächtig :)

mfg, Dj

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.