Jump to content
Chinese-forums.com
Learn Chinese in China

markhavemann

Tool for practising reading numbers

Recommended Posts

markhavemann

I started to get frustrated with clumsily bumbling through numbers every time I had to read a phone number out loud or give a code to collect a package, so I made a little tool to generate random numbers to practise with. 

 

It's very basic but I thought I would share it in case somebody else might find it useful. 

 

It generates three sets of numbers that are like the codes in the 菜鸟裹裹 app, as well as three eleven digit numbers to practise phone number reading.

 

The phone numbers aren't divided into logical groups like 133 1234 1234, but rather all together like 13312341234 because they are often displayed that way and it makes it much more difficult. 

 

image.thumb.png.0e2e2dcca49781e4cd75848fd4931af3.png

 

Click OK to reload with new numbers, or Cancel to exit. 

 

Any suggestions are welcome. 

 

Edit: Ditched the icon reference that was causing issues. Also included the AHK file (I'm not a programmer so don't judge my sub standard coding skills) which you can run if you have Autohotkey installed: https://www.autohotkey.com/

 

Random Numbers.exe Random Numbers.ahk

  • Like 1

Share this post


Link to post
Share on other sites
Site Sponsors:
Pleco for iPhone / Android iPhone & Android Chinese dictionary: camera & hand- writing input, flashcards, audio.
Study Chinese in Kunming 1-1 classes, qualified teachers and unique teaching methods in the Spring City.
Learn Chinese Characters Learn 2289 Chinese Characters in 90 Days with a Unique Flash Card System.
Hacking Chinese Tips and strategies for how to learn Chinese more efficiently
Popup Chinese Translator Understand Chinese inside any Windows application, website or PDF.
Chinese Grammar Wiki All Chinese grammar, organised by level, all in one place.

BaneGlory

Looks like an Auto Hotkey converted into an .exe (scary to run a .exe from a stranger) 

 

It looks like your drive location is statically assigned to X:\ you may want to use a dynamic reference to the home drive or something, I think those have percent signs %aroundthelocationorvariable%.

 

Or maybe just ditch the pretty icon, or maybe it's just my PC.

 

image.png.05ea1d9738897fc23c4f03a62ab160e9.png

 

 

  • Like 1

Share this post


Link to post
Share on other sites
889

On Virus Total three sites detect that .exe file as unsafe.

Share this post


Link to post
Share on other sites
Singe

Well done for sharing, though it doesn't appear to work on a Mac.

Share this post


Link to post
Share on other sites
markhavemann
2 hours ago, BaneGlory said:

What is this app? https://www.guoguo-app.com/ Is this the right webpage?

 

 https://page.cainiao.com/mcn/actpc/cnindexpc.html?spm=a21da.44372.0.0.41983045E3VXxI that is the page for the app I think, although I don't see a download link.

Also here (not sure if it's trustworthy): http://www.pc6.com/az/202083.html

 

But it may be better to get it from the Apple app store or a Chinese app store (like Huawei or Xiaomi) if your phone has access to that. Somewhere on Taobao also has a link I believe, if you check the progress of a package it tries to direct you to the app as far as I remember. 

 

Basically it links to your Taobao account, shows the status of your deliveries and gives you codes for the delivery lockers and 菜鸟站 (if that's where your packages are delivered to). 

 

Thanks for showing the error. I've never compiled an autohotkey script before. I expected it might package the icon in the EXE. 

 

 

1 hour ago, Singe said:

Well done for sharing, though it doesn't appear to work on a Mac.

Sorry, only on Windows. It's pretty simple so maybe someone smarter than me would be willing to write a similar thing in Python or something that will work on mac. 

  • Like 1

Share this post


Link to post
Share on other sites
markhavemann
1 hour ago, 889 said:

On Virus Total three sites detect that .exe file as unsafe.

I guess maybe because it's made in Autohotkey, and Autohotkey can do things like log keystrokes and other scary things. 

 

If you are worried about that (can't blame you) then you can install Autohotkey and just run the script which I included.

 

Or make a new Autohotkey script file and copy the code in (since that way you can probably see it's nothing malicious): 

Spoiler

 

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


;~ ==== Package codes
packageCodes := 
phoneNumbers :=

Loop, 3
{
    loop, 8 {
        if(A_Index = 2 or A_Index = 4)
        {
            packageCodes .= "-"
            continue
        } else
        {
            Random, rand, 0, 9
            packageCodes .= rand
        }
    }    
    packageCodes .= "`n`n"
}

Loop, 3
{
    loop, 11 {
            Random, rand, 0, 9
            phoneNumbers .= rand
    }    
    phoneNumbers .= "`n`n"
}

msgbox, 1, Random Numbers, % packageCodes "`n`n`n" phoneNumbers

IfMsgBox Ok
    Reload
else
    ExitApp

 

 

  • Like 1

Share this post


Link to post
Share on other sites
markhavemann
1 hour ago, 889 said:

But what does it do that any web-based random number generator doesn't do?

Nothing at all.

 

You can definitely just visit a website if you like. Personally I just like having a little exe/script on my computer that I can run that will spoon feed me content in the exact way I want it. 

 

I find that the easier and more tailored I make things, the more likely I am to do them.

 

I click an icon on my desktop and I get three package codes and three phone numbers. No extra effort needed. Doing three of each takes almost no time so it's not intimidating at all (unlike seeing hundreds of numbers on a page). 

 

If I feel like doing more I just click OK and get another dose of small manageable practice without any effort.

 

It's definitely not anything new or wonderful, just something that makes my life easier that I thought somebody else might be able to get some use from too. 

  • Like 1
  • Thanks 1
  • Helpful 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...