Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

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.

Featured Replies

Posted

Last Tutorial i showed one of the most basic AhK scripts i could think of.

So this time im showing an expanded version of that, variables.

We will learn 2 things:

:adding two individal strings

:adding two individual numbers together

~~~~~~~~~~~~~~~~~~~~~~~~~~

Adding Two Seperate Strings:

~~~~~~~~~~~~~~~~~~~~~~~~~~

Open a new txt document and type in the following code:

firststring := "Hello"
secondstring := "World"
afteradding = %firststring% %secondstring%MsgBox, %firststring%+%secondstring% = %afteradding%!

The Breakdown:

"firststring" if you were to write this out alone, you would get an error

but when you use a "=" or ":=" it will become a variable.

"=/:=" these two do different things

= can hold anything, as can := but the difference is, "=" cant do mathematic equations

and ":=" cant put two variables cleanly (see *1) together!

*1. e.g: := %variable1% %variable2% will show exactly that, not the variables themselves.

%any variable or built in location ids%: anything between %% will point towards something else

e.g. %A_WorkingDir% should set whatever you use %A_WorkingDir% in to your current scripts location.

luckily the makers of AutoHotKey weere nice enough to make message boxes show variables cleanly.

Well that should be enough for tonight.

Create an account or sign in to comment

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.