Search found 1568 matches

by garry
Today, 03:27
Forum: Ask For Help
Topic: Selecting/Prioritizing a GUI button
Replies: 6
Views: 108

Re: Selecting/Prioritizing a GUI button

@wolf_II , when firsttime use 'enter' > OK , then > calc is selected
by garry
Yesterday, 03:25
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 4008
Views: 513337

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

20 Bad Vintage Christmas Ads Vintage ads are often terrible, but these holiday ads take terrible to a new low. Whether it's Santa as a sex object or a cigarette carton for a sleigh, these ads are festive, fun, and totally inappropriate. https://www.youtube.com/watch?v=0Z0cjxvk9j0 yt channel 'Yesterd...
by garry
12 Dec 2018, 11:11
Forum: Ask For Help
Topic: Selecting/Prioritizing a GUI button
Replies: 6
Views: 108

Re: Selecting/Prioritizing a GUI button

@wolf_II , thank you when start GUI , firsttime is OK-button selected , later then is always Calc activ I tried with Hotkey Gui, Add, Button, x40 y60 w80 h30 gCalc1 , Calc Gui, Add, Button, x180 y60 w80 h30 gOK1 default, OK Gui, Show, x800 y500 h150 w300, INPUT ;Hotkey,Enter,ok1,ON ;- << goto OK1 wh...
by garry
12 Dec 2018, 03:30
Forum: Ask For Help
Topic: How to create a file in %temp%? Topic is solved
Replies: 3
Views: 64

Re: How to create a file in %temp%? Topic is solved

@gregster , thank you , had no experience with fileopen, used fileappend I tried this : e4x= (LTrim Join`r`n % ` %a_scriptdir% Line-1 aa ; aa1 `r`n Line-2 Ø Line-3 cccc Line-4 ddd ) f1:= a_temp . "\1.txt" File.Encoding := UTF-8 File := FileOpen(F1, "w") ;- write once ;File := FileOpen(F1, "a") ;- ap...
by garry
11 Dec 2018, 15:05
Forum: Ask For Help
Topic: IfNotExist .... or .... - is it possible Topic is solved
Replies: 3
Views: 49

Re: IfNotExist .... or .... - is it possible Topic is solved

example

Code: Select all

f1:="C:\test1.txt"
f2:="C:\test2.txt"

;if fileexist(F1) and fileexist(F2)
if fileexist(F1) and !fileexist(F2)
  msgbox,yes
else
  msgbox,NO
return
by garry
11 Dec 2018, 04:57
Forum: Scripts and Functions
Topic: Church Bells Tower - auto bell chimer
Replies: 42
Views: 1843

Re: Church Bells Tower - auto bell chimer

thank you , I use the older version at the moment, glad to see clock every hour ( video example ) mulțumesc, pentru români ,dacă utilizați videolan Filename1=VLCPlugin & ActiveX Test Gui,2:default Gui,2:-border GUI,2:Font,s14 cGray,Lucida Console Gui,2: -DPIScale Gui,2: Color, Black,Black ;id1=iCKMz...
by garry
10 Dec 2018, 17:48
Forum: Wish List
Topic: button including an image
Replies: 6
Views: 442

Re: button including an image

use picture as button

Code: Select all

F1=C:\test.jpg
Gui Add, Picture, gA1 w100 h-1 +0x4000000,%f1%
Gui, Show,, My GUI
return

A1:
Gui,1:submit,nohide
msgbox,Clicked %f1%
; do something
return

guiclose:
exitapp
by garry
10 Dec 2018, 17:36
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 4008
Views: 513337

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

in Apple store ... https://www.theguardian.com/technology/2018/dec/03/claps-and-cheers-apple-stores-carefully-managed-drama ..... It might be expected that Apple store employees are, as their name implies, tech gurus with incredible intellects. But their true role has always been to use emotional gu...
by garry
10 Dec 2018, 17:20
Forum: Ask For Help
Topic: Enable / disable specific USB port?
Replies: 3
Views: 52

Re: Enable / disable specific USB port?

I have an USB-hub with a illuminated switch to each usb port ... ( I like hardware :) )
by garry
10 Dec 2018, 15:13
Forum: Ich brauche Hilfe
Topic: Icons, Bilder Größe in Listview Topic is solved
Replies: 9
Views: 198

Re: Icons, Bilder Größe in Listview Topic is solved

@just me , habe script oben angepasst mit "IL_EX_SetSize(ILID, W, H)" , wäre dies OK ?
by garry
10 Dec 2018, 05:35
Forum: 请求帮助
Topic: 请问,ListView的单元格内容中有"`n"换行符,为什么输出时内容还是在一行显示?
Replies: 4
Views: 118

Re: 请问,ListView的单元格内容中有"`n"换行符,为什么输出时内容还是在一行显示?

EDIT : solved from user 'just me' 20181210 20:15 UTC 谢谢你,更大的ico的想法? ( bigger ICO without library ) https://autohotkey.com/boards/viewtopic.php?f=9&t=59791 https://autohotkey.com/boards/viewtopic.php?f=6&t=1256 just me LV_EX LIB solved from user 'just me' : Listview: added ICO with defined size with ...
by garry
10 Dec 2018, 00:54
Forum: Ich brauche Hilfe
Topic: Einen String oder Edit-Control zum Drucker senden
Replies: 14
Views: 1188

Re: Einen String oder Edit-Control zum Drucker senden

@just me, vielen Dank , super scripts wie immer ... musste noch anpassen > If !PrintStr(Str, fontname, fontsize, fontopts) fontname := "Lucida Console" fontsize := 11 ;fontopts := "s11" fontopts := "Bold" ;..... Gui, Show, , Print Edit Return ;------------------- Print: ControlGetText, Str, , ahk_id...
by garry
09 Dec 2018, 15:20
Forum: Scripts and Functions
Topic: FileURL() Converts filepath to file URI
Replies: 5
Views: 156

Re: FileURL() Converts filepath to file URI scheme

@SKAN, thank you earlier I used stringreplace , with your script it's easier to convert back example ;- TEST f1=%a_scriptdir%\test55.txt fx:=A_ScriptFullPath ;- earlier I made this : stringreplace,c3,fx,\,/,all Fn:="file:///" . c3 aa:=FileURL(fx) fileappend,%aa%,%f1% fileread,ec,%f1% ab:=FileURL(ec)...
by garry
09 Dec 2018, 14:40
Forum: Ich brauche Hilfe
Topic: Einen String oder Edit-Control zum Drucker senden
Replies: 14
Views: 1188

Re: Einen String oder Edit-Control zum Drucker senden

@just me , weiss wieder nicht wie man Funktion benutzt ..
möchte die Parameter im GUI definieren und sollte im Funktion übernommen werden

Code: Select all

PrintStr(Str, fontname:="Lucida Console", fontsize:="11",fontopts:="s11")
by garry
09 Dec 2018, 10:52
Forum: 请求帮助
Topic: 求助!文件打印
Replies: 2
Views: 130

Re: 求助!文件打印

PRINTER https://www.google.com/search?q=site%3Aautohotkey.com+printer+command ;- How to print from Autohotkey ;- https://autohotkey.com/boards/viewtopic.php?f=76&t=59581 ;- PRINTER some examples ;- https://www.robvanderwoude.com/2kprintcontrol.php ;- How to print from Autohotkey ;- https://autohotke...
by garry
09 Dec 2018, 10:46
Forum: Ich brauche Hilfe
Topic: GuiControl Ausgabe rechtsbündig
Replies: 1
Views: 33

Re: GuiControl Ausgabe rechtsbündig

kannst dem Edit sagen dass es rechts anzeigen soll

Code: Select all

;----- continue
Gui, Add, Edit, x115 y65 w75 h24 right vED1
Gosub, laenge_anpassen
return
Guiclose:
exitapp
kosten:
return

laenge_anpassen:
sleep,2000
ch=1000 E
guicontrol,1:,ed1,%ch%
sleep,2000
ch=2 E
guicontrol,1:,ed1,%ch%
return
by garry
09 Dec 2018, 08:48
Forum: Ich brauche Hilfe
Topic: Icons, Bilder Größe in Listview Topic is solved
Replies: 9
Views: 198

Re: Icons, Bilder Größe in Listview Topic is solved

ein Test script mit Lösung von 'just me' ( lege ICOns "032_neu_PDF_niO.png" und "042_nix_PDF_niO.png" in subfolder ICO ) ;- Listview added ICO with defined size ;- LV_ICO_TEST > put the ico "032_neu_PDF_niO.png" in subfolder ICO ; "042_nix_PDF_niO.png" ;----------------------------------------------...
by garry
08 Dec 2018, 07:33
Forum: Ask For Help
Topic: Simplify uptime display code using RegEx
Replies: 8
Views: 155

Re: Simplify uptime display code using RegEx

I like see the zero's , like > 087days-02:05:40
( but I think I don't must see the computer boot time for days )
by garry
05 Dec 2018, 13:51
Forum: Ich brauche Hilfe
Topic: FileSetTime: Sommer-/Winterzeit?
Replies: 23
Views: 516

Re: FileSetTime: Sommer-/Winterzeit?

@LuckyJoe , vielen Dank , bin auch 'LuckyGarry' , kann jetzt Funktion benützen , danke auch an 'just me' für den script die Zeit ( oder Datum ) hatte ich vorher so eingestellt ( und mit tmplinshi's Time Sync kann man wieder grad richtigstellen , statt manuell , war nützlich beim alten Computer desse...
by garry
05 Dec 2018, 13:32
Forum: Ask For Help
Topic: FileExist not working or I'm doing something wrong? Topic is solved
Replies: 6
Views: 84

Re: FileExist not working or I'm doing something wrong? Topic is solved

@awel20 , yes , really , found before C:\ hex : E2-80-AA f1:="C:\Temp\hb.rdi" if FileExist(F1) MsgBox, Case-1 The target file exist %A_LastError% if FileExist("C:\Temp\hb.rdi") MsgBox,Case-2 = The target file exist %A_LastError% IfExist %f1% MsgBox,Case-3 = The target file exist %A_LastError% return

Go to advanced search