Send month date in a different language: Arabic Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wise_mike
Posts: 90
Joined: 28 Feb 2014, 01:37

Send month date in a different language: Arabic

01 Dec 2021, 07:19

I use the following script to send the current date:

Code: Select all

Numpad0::
Send, %A_dd% %A_mmmm% %A_YYYY%
Return
It returns: 01 December 2021

1- How can I change the month date to a different language, say Arabic (I think the language code is L1001).

2- When I change %A_dd% to %A_dd% in order to remove the trailing 0 it doesn't send the day number.
garry
Posts: 3763
Joined: 22 Dec 2013, 12:50

Re: Send month date in a different language: Arabic  Topic is solved

01 Dec 2021, 10:06

just short, example

Code: Select all

;- https://www.autohotkey.com/docs/misc/Languages.htm
;- https://www.science.co.il/language/Locale-codes.php
;-
FormatTime,Egypt1,%a_nowutc% L0x0c01, dddd MMMM yyyy-MM-dd  HH:mm  ;
msgbox,%egypt1%
fileappend,%egypt1%`r`n,test55.txt,utf-8
return

;- https://www.autohotkey.com/docs/misc/Languages.htm
/*
languageCode_0401 := "Arabic_Saudi_Arabia"
languageCode_0801 := "Arabic_Iraq"
languageCode_0c01 := "Arabic_Egypt"
languageCode_1001 := "Arabic_Libya"
languageCode_1401 := "Arabic_Algeria"
languageCode_1801 := "Arabic_Morocco"
languageCode_1c01 := "Arabic_Tunisia"
languageCode_2001 := "Arabic_Oman"
languageCode_2401 := "Arabic_Yemen"
languageCode_2801 := "Arabic_Syria"
languageCode_2c01 := "Arabic_Jordan"
languageCode_3001 := "Arabic_Lebanon"
languageCode_3401 := "Arabic_Kuwait"
languageCode_3801 := "Arabic_UAE"
languageCode_3c01 := "Arabic_Bahrain"
languageCode_4001 := "Arabic_Qatar"
*/

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Anput, Stpham and 118 guests