Search found 2406 matches

by garry
19 Sep 2020, 14:20
Forum: Ask For Help
Topic: Running scripts only when a specific language is active
Replies: 26
Views: 366

Re: Running scripts only when a specific language is active

yes, sorry, EarlMorton wrote already :
I can press Windows+Spacebar to toggle between the two language keyboards.
EDIT : with script above can add other keyboardlanguage and then select with WIN+SPACE
by garry
19 Sep 2020, 14:08
Forum: Ask For Help
Topic: Running scripts only when a specific language is active
Replies: 26
Views: 366

Re: Running scripts only when a specific language is active

mikeyww works fine I used this ( in your earlier script ) WinGet, thisWindow,, A MsgBox, 64, Keyboard layout, % langName(thisWindow) ExitApp langName(window) { lang := {0436: "Afrikaans" , 041c: "Albanian" , 0401: "Arabic_Saudi_Arabia" ;....... in WINDOWS-10 : use key WIN+SPACE to select keyboard l...
by garry
19 Sep 2020, 10:48
Forum: Ask For Help
Topic: Copy Files on every USB-Drive Topic is solved
Replies: 10
Views: 115

Re: Copy Files on every USB-Drive Topic is solved

@mikeyww thanx, that works fine ( only not copy subfolders )
by garry
19 Sep 2020, 09:48
Forum: Ask For Help
Topic: Copy Files on every USB-Drive Topic is solved
Replies: 10
Views: 115

Re: Copy Files on every USB-Drive Topic is solved

@mikeyww , works fine , I'll try to add source and destination folder/subfolders
by garry
19 Sep 2020, 09:41
Forum: Ask For Help
Topic: Copy Files on every USB-Drive Topic is solved
Replies: 10
Views: 115

Re: Copy Files on every USB-Drive Topic is solved

your example not works for me ( drive D instead of D:\ ) maybe interesting to define source and destination folder here an example with builtin robocopy , don't know how to define the extensions ( *.jpg / *.png ) EDIT : works with defined extensions ;- Copy Files on every USB-Drive ;- https://www.au...
by garry
19 Sep 2020, 06:52
Forum: Ask For Help
Topic: extract parts of internet pages source code
Replies: 15
Views: 184

Re: extract parts of internet pages source code

try with a short example , use some msgbox to see what happens h= (Ltrim join`r`n aaaaaaaaaaaaaa 111111111111 violets sssssviolets are blue fffffffffffffff cccccccccccccc 222222222222 blue yyyyy violets are bluejjjjjjjjjjjj eeeeeeeeeeeee xxxxxxxxxxxxxx ) a=violets b=blue Loop,parse,H,`n,`r { x:=a_lo...
by garry
18 Sep 2020, 14:49
Forum: Ask For Help
Topic: extract parts of internet pages source code
Replies: 15
Views: 184

Re: extract parts of internet pages source code

teadrinker , thank you here an example , download URL to variable and then search between A and B ( function from user SKAN ) ;- search text in URL between A and B , example this line : ;<img src="https://i.imgur.com/h3PQNCv.png" class="postimage" alt="Image"></div> ; and then show result : ;------...
by garry
18 Sep 2020, 12:21
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4380
Views: 1045518

Re: « What's on your mind? »

Tuesday, 15 September 2020 The value of X to be fixed at 5 once and for all https://www.the-postillon.com/2017/04/value-of-x.html Bonn (dpo) - This news is guaranteed to delight maths grouches all over the world! Determining the value of x is the goal in countless mathematical problems and now the w...
by garry
18 Sep 2020, 10:11
Forum: Ask For Help
Topic: Extracting Titles Topic is solved
Replies: 1
Views: 44

Re: Extracting Titles Topic is solved

from where ?
example from youtube ...

Code: Select all

!h::
 y:=" - "
 WinGetActiveTitle, title
 a:=StrSplit(title,y)
 title:=a[1]
msgbox,%title%    ;- 新妻聖子 Niizuma Seiko 夜来香 Ye Lai Xiang
return
by garry
17 Sep 2020, 07:22
Forum: J'ai besoin d'aide
Topic: Besoin d'explication pour un petit script Topic is solved
Replies: 1
Views: 115

Re: Besoin d'explication pour un petit script Topic is solved

J'ai essayé ça ;- Besoin d'explication pour un petit script ;- https://www.autohotkey.com/boards/viewtopic.php?f=55&t=81108 #SingleInstance, Force Global T1,T2 Gui, Font, cWhite Gui, Add, Text, x10 y10 cYellow, Cochez les cases puis appuyez sur Alt pour lancer le script. Gui, Font, s15 Gui, Add, Che...
by garry
07 Sep 2020, 15:04
Forum: Ask For Help
Topic: Why is my second Gui not opening?
Replies: 1
Views: 54

Re: Why is my second Gui not opening?

example Gui, Add, Text, ,F1 to Pause/Unpause and F2 to Exit this script. Made by Me Gui, Add, Button, gA1, Ok Gui, Show, Center, Instructions Return A1: Gui, Destroy ;Return Gui, Show , w200 h100, Hold To Click Application gui, add, text, section, Start/Pause Hotkey: Gui, Add, Hotkey, vChosenHotkey ...
by garry
07 Sep 2020, 06:43
Forum: Ask For Help
Topic: Url to Button
Replies: 30
Views: 1419

Re: Url to Button

you can hide the 2nd column ( url ) , click on column-1 ;- Url to Button ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=80725 Gui Add, ListView, vLV1 gLVEvents +altsubmit w130, Name|URL LV_Add("","Autohotkey","https://www.autohotkey.com/boards") LV_ModifyCol(1,100) LV_ModifyCol(2,0) Gui, ...
by garry
06 Sep 2020, 13:20
Forum: Ask For Help
Topic: Auto reload ListView when add or remove drive Topic is solved
Replies: 12
Views: 269

Re: Auto reload ListView when add or remove drive Topic is solved

see also DriveGetOb() from user BoBo https://www.autohotkey.com/boards/viewtopic.php?f=10&t=80688 idea , if 'CLOSE' the GUI it will be minimized, see GUI again if drives have changed ;- Auto reload ListView when add or remove drive - AutoHotkey Community - Mozilla Firefox ;- https://www.autohotkey.c...
by garry
04 Sep 2020, 15:40
Forum: Ask For Help
Topic: Auto reload ListView when add or remove drive Topic is solved
Replies: 12
Views: 269

Re: Auto reload ListView when add or remove drive Topic is solved

Bill , thank you for notify_change here an idea without reload ;- Auto reload ListView when add or remove drive - AutoHotkey Community - Mozilla Firefox ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=80592 #Warn #SingleInstance Force #Persistent #NoTrayIcon #NoEnv SendMode Input SetBatch...
by garry
04 Sep 2020, 11:00
Forum: Ask For Help
Topic: How to copy a file to, rename and then open...
Replies: 2
Views: 39

Re: How to copy a file to, rename and then open...

a basic example

Code: Select all

F1   = c:\test\testsub.txt
dest = %a_desktop%\TEST
ifnotexist,%dest%
  filecreatedir,%dest%
SplitPath,F1, name, dir, ext, name_no_ext, drive
new=%dest%\%name_no_ext%_%a_now%.%ext%
filecopy,%f1%,%new%
try
 run,%new%
exitapp
by garry
01 Sep 2020, 04:44
Forum: Ask For Help
Topic: Adding titles, images, and files
Replies: 48
Views: 1104

Re: Adding titles, images, and files

a Listview example , see example black.ico , you can add small pictures to the row #warn #noenv Setworkingdir,%a_scriptdir% Gui,2:default Gui,2: -DPIScale Gui,2: Font,s14 CBlack,Lucida Console e4x= (Ltrim Join`r`n VOLUME;Sndvol.exe CHARMAP;Charmap.exe Black;myblack.ahk Notepad;Notepad.exe mozilla;%a...
by garry
01 Sep 2020, 04:26
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 743

Re: Trying to convert seconds to minutes Topic is solved

@ALL
thank you for the many examples / functions , have much to learn ...
by garry
01 Sep 2020, 01:37
Forum: Ask For Help
Topic: loop, parse, cant display values from file Topic is solved
Replies: 5
Views: 222

Re: loop, parse, cant display values from file Topic is solved

that means you started the script at desktop and there creates > folder\subfolder but you can define the path like > C:\Test1\ahk_stuff\Temp File Folder For Gui Mini Tut 21\Delimited.txt example above worked but creates always the folders > %A_ScriptDir%\ahk_stuff\Temp File Folder For Gui Mini Tut 2...
by garry
30 Aug 2020, 16:14
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 743

Re: Trying to convert seconds to minutes Topic is solved

EDIT : I see it works , if wanted can remove the variable 'hours1' I get here the correct result ( without the dot , dot must be removed maybe with stringreplace ) acc:=00000165 SetFormat, float, 02 hours1 := (acc//3600) minutes1 := (acc - hours1 * 3600)// 60 seconds1 := (acc - hours1 * 3600 - minut...

Go to advanced search