Search found 2285 matches

by garry
31 May 2020, 17:18
Forum: Ask For Help
Topic: Copy file(s) to variable usb stick station
Replies: 17
Views: 750

Re: Copy file(s) to variable usb stick station

can maybe use the drive infos , example if (serial1="12345678") or if (type1="removable") then break the loop and get drive letter ( drv )
;msgbox, 262208,Drive-Info_%i% ,%DRV% %type1% %label1% %fs1% %cap1%-MB %free1%-MB %status1% %serial1%
by garry
31 May 2020, 11:15
Forum: Ask For Help
Topic: Copy file(s) to variable usb stick station
Replies: 17
Views: 750

Re: Copy file(s) to variable usb stick station

example your SSD is C:\ -1-Start this script -2-connect your USB and see LastDrive > D:\ ( or maybe X:\ ) -3-asked : "Want you COPY = C:\TEST to D:\_BEELINK_2\TEST ? (Y/N ) can you check if this works ? Example : SOURCE= C:\TEST DEST =%last%_BEELINK_2\TEST ;- Copy file(s) to variable usb stick stati...
by garry
31 May 2020, 09:34
Forum: Ask For Help
Topic: Help with Doubleclick Topic is solved
Replies: 4
Views: 205

Re: Help with Doubleclick Topic is solved

tried with a function from user 'just me' ;- Help with Doubleclick ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=76703 vDir1 = c: Gui,2:default Gui,2: Add , ListView, r25 w323 backgroundGray cYellow grid vLV1 gLV1a altsubmit Multi hwndHLV, #|%vDir1%|Fullpath|Date Gui,2: Add , Button,vLV2...
by garry
31 May 2020, 06:10
Forum: Ask For Help
Topic: Copy file(s) to variable usb stick station
Replies: 17
Views: 750

Re: Copy file(s) to variable usb stick station

example with filecopy or robocopy https://www.autohotkey.com/boards/viewtopic.php?f=76&t=76064 Detect USB drive from user 'teadrinker' https://www.autohotkey.com/boards/viewtopic.php?t=76221&p=330409 example shows last drive , I usually copy from secondlast to lastdrive ( example D > E ) ;-------- s...
by garry
30 May 2020, 07:14
Forum: Ask For Help
Topic: Help with Format() Topic is solved
Replies: 4
Views: 248

Re: Help with Format() Topic is solved

example round 0 / 5 cents

Code: Select all

;- round 0/5 
setformat,float,0.2
d1:=4.92   ;- 4.90
d2:=4.93   ;- 4.95
d3:=4.97   ;- 4.95
d4:=4.98   ;- 5.00
;----------
d1:=(round(d1*20)/20)
d2:=(round(d2*20)/20)
d3:=(round(d3*20)/20)
d4:=(round(d4*20)/20)
msgbox,%d1%`n%d2%`n%d3%`n%d4%
exitapp
by garry
29 May 2020, 16:44
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4335
Views: 1015352

Re: « What's on your mind? »

@boiler , thank you , usually raccoon / for incessantly > endless ( ? ) , which phrase / sentence will be ok ?
by garry
29 May 2020, 13:49
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4335
Views: 1015352

Re: « What's on your mind? »

Racoon ... washes his hands incessantly ...
Image
by garry
29 May 2020, 10:44
Forum: Scripts and Functions
Topic: VerCmp() : Compare two software version numbers
Replies: 1
Views: 85

Re: Compare two software version numbers

SKAN , thank you for test : ;- Compare two software version numbers SKAN ;- https://www.autohotkey.com/boards/viewtopic.php?t=77109 #NoEnv #Warn #SingleInstance, Force ;V1:= "13.15.16654.0" ;V2:= "14.1.16654" ; 2nd one is newer ;---------------------------------------------- V1:= "13.9.16654" ; fir...
by garry
29 May 2020, 10:21
Forum: Ask For Help
Topic: comparing dates
Replies: 11
Views: 459

Re: comparing dates

@SKAN , thanx

Code: Select all

FormatTime, TimeString,currentdatetime, yyyy-MM-dd
File1=
(
2020-05-26
2020-05-27
2020-05-28
2020-05-29
2020-06-01
2020-06-02
2020-06-03
)
i=0
Loop,Parse,File1, `n,`r
{
i++
x:=a_loopfield
if (x=Timestring)
  break
}
msgbox,Line-%i%=%x%
exitapp
by garry
29 May 2020, 10:09
Forum: Ajuda e Suporte Geral
Topic: Ajuda montar um RegExMatch Topic is solved
Replies: 5
Views: 530

Re: Ajuda montar um RegExMatch Topic is solved

função do usuário 'SKAN' TEXTO_DA_LINHA := "[01:45:46] [ATENDIMENTO] O jogador [TJS]Will.Zn[UPC](43) esta na fila para ser atendido com a senha 383, use ." A= ( ;- começar B= ) ;- fim c:=xStr(TEXTO_DA_LINHA,,A,B,,,,,0,0) ;- with A and B d:=xStr(TEXTO_DA_LINHA,,A,B) ;- between A and B msgbox,%c%`n---...
by garry
28 May 2020, 06:55
Forum: Ask For Help
Topic: Batch Scripting + AutoHotKey
Replies: 2
Views: 164

Re: Batch Scripting + AutoHotKey

don't know how batch works but maybe can try this ;SET /p I.AOV=Inserire AOVyy-XXXX (COMPLETO): ; SET i.aov.anno=%I.AOV:~3,2% ; SET anno.compl=20%i.aov.anno% ;-E:\P\DocTecCom\%anno.compl%\%I.AOV% ;-------------------------------------- stringmid,anno_compl,a_now,1,4 stringmid,i_aov,a_now,1,8 fd=E:\P...
by garry
27 May 2020, 15:05
Forum: Ask For Help
Topic: Create custom msgbox
Replies: 13
Views: 604

Re: Create custom msgbox

see in ahk help , msgbox options : %a_programfiles%\AutoHotkey\AutoHotkey.chm OK=0, FIRST=0, INFO=64, Alwaysontop=262144 >>> Total=262208 I like to use 'alwaysontop' and here 'Info' and only OK-Button I used the script from user 'Thalon' , >> MessageBox-Creator https://autohotkey.com/board/topic/106...
by garry
27 May 2020, 14:54
Forum: Ask For Help
Topic: Create a simple Gui Topic is solved
Replies: 6
Views: 352

Re: Create a simple Gui Topic is solved

idea , if calculating x-position from more then three, example with 6 EDIT's EDIT: script shortened ;- Example : define x-position from 6 Edit's ( screenwidth divided by 6 ) #NoEnv #Warn SetWorkingDir, %A_ScriptDir% Gui,2: -DPIScale SS_REALSIZECONTROL := 0x40 Gui,2:Font,s14 cWhite,Lucida Console Gui...
by garry
24 May 2020, 06:41
Forum: Ich brauche Hilfe
Topic: URL existiert Nachts nicht
Replies: 25
Views: 1449

Re: URL existiert Nachts nicht

ja , die Lithium Batterien halten ewig ( CR 2032 ) (auto power off / memory safe guard ) , im Speicher sind noch alle Formeln erhalten + nachträglich USB Anschluss , so im Texteditor Program schreiben ( oder vom Internet ) und denn auf's Rechner laden wobei die Formeln sind schnell eingetippt obiges...
by garry
24 May 2020, 03:43
Forum: Ich brauche Hilfe
Topic: URL existiert Nachts nicht
Replies: 25
Views: 1449

Re: URL existiert Nachts nicht

war ein Beispiel mit GWBASIC (DOS) mit Liniennummerierung , benütze noch gerne den alten Sharp PC-1262
für das neuere Basic müsste umlernen und Android smartphone benützen ... bin zu faul ... bleibe gerne bei Autohotkey mit GUI /EDIT
by garry
24 May 2020, 03:31
Forum: Ask For Help
Topic: How can I start Music playing at 0:30 of the mp3 and not start at beginning of mp3?
Replies: 5
Views: 292

Re: How can I start Music playing at 0:30 of the mp3 and not start at beginning of mp3?

example with videolan vlc.exe , Video : start 00:30 stop=00:45, repeat / ESC = close #NoEnv SendMode, Input SetWorkingDir, %A_ScriptDir% SetTitleMatchMode 2 SetBatchLines, -1 VLC =%A_programfiles%\VideoLAN\VLC\vlc.exe C2 =C:\test.mp4 SetFormat, float, 04 begintime=00:00:30 endtime =00:00:45 gosub,ti...
by garry
24 May 2020, 03:15
Forum: Ich brauche Hilfe
Topic: URL existiert Nachts nicht
Replies: 25
Views: 1449

Re: URL existiert Nachts nicht

noch mit basic ... EDIT : added GUI Mathe 10:input "Ankathete=";ak:input "Gegenkathete=";gk:c=ATN(gk/ak):Print "Angle=";c neu mit ahk GUI /EDIT c:=(atan(gk/ak))*(180/3.141592653589793) ;- mathematic example GUI trigonometrie mathex sinusx ------------------ /* gwbasic example: 10:input "adjacent sid...
by garry
24 May 2020, 02:22
Forum: Ask For Help
Topic: Clipboard append issue
Replies: 4
Views: 210

Re: Clipboard append issue

@gregster , thanx , maybe add :

Code: Select all

var = %clipboard%`r`n             ;- if clipboard maybe contents endofline  ascii 13,10 (`r`n)
;stringreplace,var,var,`r`n,,all  ;- remove EOL
;- or
var:= StrReplace(var, "`r`n")    ;- remove EOL
msgbox,%p%%var%%q%
by garry
23 May 2020, 15:57
Forum: Ich brauche Hilfe
Topic: Problem mit der InputBox bei Verwendung des Parameters "Locale" Topic is solved
Replies: 4
Views: 389

Re: Problem mit der InputBox bei Verwendung des Parameters "Locale" Topic is solved

habe keine Antwort , lediglich Test ( WIN10-64 ) , der Cursor ist nicht im Edit Der Button Cancel > Abbrechen ist zu klein ;InputBox, OutputVar , Title, Prompt, HIDE, Width, Height, X,Y, Locale , Timeout, Default InputBox , z ,Input , , , , , , , Locale , , if ErrorLevel msgBox, CANCEL was pressed. ...
by garry
23 May 2020, 13:56
Forum: Ask For Help
Topic: Clipboard append issue
Replies: 4
Views: 210

Re: Clipboard append issue

example , copy text and use alt+h

Code: Select all

P := "PMS/"
Q := "-0"
return
esc::exitapp

!h::
var = %clipboard%
msgbox,%p%%var%%q%
clipboard=
return

Go to advanced search