Search found 1230 matches

by garry
17 Jun 2018, 09:50
Forum: Eu preciso de ajuda
Topic: restringir comandos
Replies: 7
Views: 108

Re: restringir comandos

@Amanda, no spam
desculpe , eu não falo português, Gio (ou outros) pode ajudar
by garry
15 Jun 2018, 15:11
Forum: Eu preciso de ajuda
Topic: restringir comandos
Replies: 7
Views: 108

Re: restringir comandos

clique direito 'Window spy' ( 'tray icon' para um script ahk iniciado ) ou test script ( mova o 'mouse' ) ;- ahk_classx controlx togglex mousegetposx whilex ;-------- https://autohotkey.com/boards/viewtopic.php?f=5&t=12958 --- Gui, +AlwaysOnTop Gui, Add, Button, , reload Gui, Add, Button, defaul...
by garry
13 Jun 2018, 05:28
Forum: Ask For Help
Topic: What is the fastest method of send text
Replies: 6
Views: 78

Re: What is the fastest method of send text

example send2notepad with ctrl+c pr=notepad.exe sc=ahk_exe notepad.exe $^c:: sendinput, ^c ;- copy marked text clipwait,2 IfWinNotExist,%sc% { Run, %pr%,,,pid1 scx:= "ahk_pid " . PID1 WinWait,%scx% } IfWinNotActive ,%scx%,,WinActivate,%scx% WinWaitActive,%scx% send,^v ;- send to notepad sl...
by garry
12 Jun 2018, 16:25
Forum: Eu preciso de ajuda
Topic: restringir comandos
Replies: 7
Views: 108

Re: restringir comandos

Exemplo: copiar texto e enviar para o bloco de notas ( não sei como usar o UTF-8 ) Exemple-1 test : clipboard= pr=notepad.exe sc=ahk_exe notepad.exe e4x= (Ltrim Join`r`n Marchas e casamentos na noite de Santo Antonio em Lisboa . Mais de 1600 marchantes descem a Avenida da Liberdade. No total, desfil...
by garry
11 Jun 2018, 09:48
Forum: Ask For Help
Topic: A script to better fill in forms.
Replies: 7
Views: 68

Re: A script to better fill in forms.

an idea with loop don't now from where you get the variables, in this example see > leftx / rightx to fill out (remove readonly from edit) and maybe add OK-Button to write somewhere ? #warn Gui,xx:new Gui, -DPIScale SS_REALSIZECONTROL := 0x40 Gui,color, blue Gui,font, s12 Verdana bold cblack WA=%A_s...
by garry
11 Jun 2018, 06:49
Forum: Ask For Help
Topic: Run program when internet reconnects Topic is solved
Replies: 10
Views: 243

Re: Run program when internet reconnects Topic is solved

also an example ;-------- saved at Sonntag, 3. Januar 2016 19:45:57 -------------- ;-------- https://autohotkey.com/boards/viewtopic.php?p=64440#p64440 --- ;- by "uberi" - Suggested by "joedf" DLLCall Version #Warn setworkingdir,%a_scriptdir% Address = 8.8.8.8 ;- using 8.8.8.8 is...
by garry
10 Jun 2018, 02:52
Forum: Eu preciso de ajuda
Topic: Atualizar a GUI
Replies: 3
Views: 98

Re: Atualizar a GUI

Exemplo com edição / edit /text Name1=TEST1 Gui,2:Color, ControlColor,Black ;- background from edit Gui,2:Color, Gray ;- Gui color GUI,2:Font,s12 cYellow,Lucida Console Gui,2:Add,Edit , x10 y10 w400 h200 ved1 +hscroll +vscroll -wrap , Gui,2:Add,Button , x10 y230 w100 h25 gTxtos, Input Gui,2:Add,text...
by garry
09 Jun 2018, 14:05
Forum: Ich brauche Hilfe
Topic: Das vollständige Laden einer Website ermitteln. Topic is solved
Replies: 4
Views: 166

Re: Das vollständige Laden einer Website ermitteln. Topic is solved

noch ein Beispiel mit imagesearch : ;- AHK FireFox ;- 1- Speichere zuerst das Bild von Firefox ; Kreis mit Pfeil , oben links wenn Url-Load beendet ;---------------------------------------------------------------------------------------- #warn #Singleinstance,force Settitlematchmode,2 Coordmode,pixe...
by garry
09 Jun 2018, 08:38
Forum: Scripts and Functions
Topic: Find a substring in between 2 other substrings
Replies: 10
Views: 280

Re: Find a substring in between 2 other substrings

@Helgef, I had a small problem with last example ( because `n ) , this was ok : transform,s,chr,10 t := "Rate: 100 bits/s`nFormat: 1920 x 1080`nColor-depth: 10 bits`nNo of audio channels: 5`nCompression: h.264" ch := partStr2(t,"channels:",s) ; returns "5" col := partSt...
by garry
09 Jun 2018, 03:54
Forum: Ask For Help
Topic: Trying to select Default Browser Topic is solved
Replies: 4
Views: 77

Re: Trying to select Default Browser Topic is solved

same question here : https://autohotkey.com/boards/viewtopic.php?f=5&t=50267 short example : url=https://autohotkey.com/boards/ ixe:="" ;- my default browser ( firefox ) ;ixe:=A_programfiles . "\internet explorer\iexplore.exe " run,%ixe%%url% return
by garry
08 Jun 2018, 07:18
Forum: Ask For Help
Topic: Cant run default browser using variable Topic is solved
Replies: 2
Views: 71

Re: Cant run default browser using variable Topic is solved

this works for me :

Code: [Select all]GeSHi © Codebox Plus

url=https://autohotkey.com/boards/
ixe:="" ;- my default browser ( firefox )
;ixe:=A_programfiles . "\internet explorer\iexplore.exe "
run,%ixe%%url%
return
by garry
08 Jun 2018, 06:30
Forum: Ask For Help
Topic: Tooltips for GUI buttons.
Replies: 2
Views: 73

Re: Tooltips for GUI buttons.

I tried this ;-------- https://autohotkey.com/boards/viewtopic.php?f=5&t=50225 --- Gui Add, Button, x1 y15 w110 h25 gApplyExternalClip vCalc, Calculator Gui Add, Button, x115 y15 w25 h25 gApplyExternalClip v02, 02 Gui Add, Button, x145 y15 w25 h25 gApplyExternalClip v03, 03 Gui Add, Button, x175...
by garry
03 Jun 2018, 06:22
Forum: Ask For Help
Topic: I don't know the difference between `r and `n
Replies: 9
Views: 216

Re: I don't know the difference between `r and `n

`r is ascii 13 ( CR carriage return ) `n is ascii 10 ( LF line feed ) I use both , `r`n in textfile as end of line (EOL) in msgbox is `n ok : msgbox,Line1`nLine2 other ascii codes : EOF 26 End of File FF 12 Form Feed , when used matrix printer moved to next sheet TAB `t 09 Tab BS `b 08 Backspace tra...
by garry
03 Jun 2018, 04:34
Forum: Ask For Help
Topic: How to use output variable, % symbols?
Replies: 1
Views: 50

Re: How to use output variable, % symbols?

note , must use brackets if you have more then 1 line ( if ... else ) , in this case after else (didn't tested ) F5:: PixelSearch, Px, Py, 0, 0, 960, 540, 0xFF6600, 3, Fast if ErrorLevel MsgBox, That color was not found in the specified region. else { MsgBox, A color within 3 shades of variation was...
by garry
01 Jun 2018, 08:44
Forum: Ask For Help
Topic: Gdrive download progress bar
Replies: 5
Views: 136

Re: Gdrive download progress bar

had success with wget ( without progressbar ) https://eternallybored.org/misc/wget/ ;https://eternallybored.org/misc/wget/ url= https://drive.google.com/uc?export=download&id=1cXiZqxLHjfjoW9n_PCaf52gStLqP75du fd1=%a_desktop%\GoogleDriveDownloads ifnotexist,%fd1% filecreatedir,%fd1% where=%fd1%\c...
by garry
27 May 2018, 14:28
Forum: Ask For Help
Topic: retrieve system information
Replies: 15
Views: 282

Re: retrieve system information

DriveGet , show drives DriveGet, A, List, Loop,Parse,a { type1= cap1= free1= fs1= label1= serial1= status1= drv= x:=a_loopfield drv=%x%:\ DriveGet, type1, type, %DRV% DriveGet, cap1, capacity, %DRV% DrivespaceFree, free1, %DRV% DriveGet, fs1, fs, %DRV% ;FAT DriveGet, label1, label, %DRV% ;volume lab...
by garry
27 May 2018, 08:51
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 3871
Views: 449304

Re: « What's on your mind? » Topic is solved

GDPR ( General Data Protection Regulation ) #20 : Fridge meet GDPR : https://gdprhallofshame.com/ https://digiday.com/media/winners-losers-gdpr/ https://digiday.com/media/gdpr-mayhem-programmatic-ad-buying-plummets-europe/ quick load now without JS-bloat : https://text.npr.org/ https://eu.usatoday.c...
by garry
24 May 2018, 14:17
Forum: Ich brauche Hilfe
Topic: FileRead
Replies: 8
Views: 195

Re: FileRead

@just me , danke auch für Dein Beispiel mit 'Rtrim'
by garry
23 May 2018, 15:28
Forum: Ask For Help
Topic: Clipboard1, Clipboard2?
Replies: 8
Views: 136

Re: Clipboard1, Clipboard2?

example with OnClipboardChange #Persistent F1=%A_Desktop%\%A_YYYY%-%A_MM%-%A_DD%.txt clipboard= return OnClipboardChange: ;if (A_EventInfo<>0) if (A_EventInfo=1) { C1:=clipboard FileAppend,%C1%`r`n,%F1% Splashimage,,b w600 h150 x100 Y400 CWsilver m9 b fs10 zh0,%C1% sleep,900 Splashimage, off clipboa...
by garry
23 May 2018, 14:47
Forum: Ich brauche Hilfe
Topic: FileRead
Replies: 8
Views: 195

Re: FileRead

ein Beispiel, Textfile mit mehreren Linien, die erste Linie beinhaltet 99
see auch > Loop,parse,f1,`n,`r

Code: [Select all]GeSHi © Codebox Plus

F1=%a_scriptdir%\test.txt
FileReadLine, line,%f1%,1
msgbox,"%line%"
if (line=99)
msgbox,ok
else
msgbox,NOT 99 > %line%
return

Go to advanced search