Search found 447 matches
- 22 May 2018, 19:58
- Forum: Ask for Help (v1)
- Topic: Ansi VS Unicode
- Replies: 20
- Views: 7336
Re: Ansi VS Unicode
:think: I've been trying to reproduce the issue on different AHk installations and systems but I always get the correct encoding regardless :eh: I was thinking maybe the Transform command but then that's not available in Unicode ... Anyway i'll report back if I get it to `not` work lol I always get...
- 22 May 2018, 19:40
- Forum: Ask for Help (v1)
- Topic: Ansi VS Unicode
- Replies: 20
- Views: 7336
Re: Ansi VS Unicode
Sweet Class ID :D!!! I'm not 100% how but I'm thinking setting the encoding for the returned pointer may be what you're after. ptr := INetwork.GetName() NetworkName := StrGet( &ptr, StrLen( ptr ), "UTF-16" ) Again this is just a guess but I wasn't able to find a comparable encoding property on MSDN...
- 22 May 2018, 15:18
- Forum: Ask for Help (v1)
- Topic: Ansi VS Unicode
- Replies: 20
- Views: 7336
Ansi VS Unicode
The code below retrieves all networks that have been connected to the computer since windows was installed. I install Ansi Autohotkey and compile and a user in Sweden gets this...notice the ?? network names. https://www.dropbox.com/s/jm8500soxijw7ks/Ansi.PNG?dl=0 When install Unicode Autohotkey and ...
- 14 May 2018, 23:21
- Forum: Ask for Help (v1)
- Topic: [COM] How to enumerate IEnumNetworkConnections in a more "native" way?
- Replies: 25
- Views: 8446
Re: [COM] How to enumerate IEnumNetworkConnections in a more "native" way?
All my scripts are tested on Windows 10, AutoHotkey 32 bit Ansi unless otherwise stated. - Did you compile the script as ANSI? - Has the user tried running your script with AHK Unicode? - An idea that may or may not work: if it works differently in AHK ANSI/Unicode, you could try rewriting the code...
- 14 May 2018, 18:29
- Forum: Ask for Help (v1)
- Topic: [COM] How to enumerate IEnumNetworkConnections in a more "native" way?
- Replies: 25
- Views: 8446
Re: [COM] How to enumerate IEnumNetworkConnections in a more "native" way?
Try this: for INetwork in ComObjCreate("{DCB00C01-570F-4A9B-8D69-199FDBA5723B}").GetNetworks(1) MsgBox % INetwork.GetName() HotKeyit, Sometimes the above code returns ??? I am not able to reproduce this issue, but I have someone using one of my programs in Sweden and he is seeing this ??? Any idea ...
- 06 May 2018, 21:43
- Forum: Scripts and Functions (v1)
- Topic: ExplorerTool – small enhancements of default shell
- Replies: 8
- Views: 3467
Re: ExplorerTool – small enhancements of default shell
Very nice, thanks
- 30 Apr 2018, 00:02
- Forum: Scripts and Functions (v1)
- Topic: SciTE4AutoHotkey extension - Count occurrences of word
- Replies: 50
- Views: 18432
Re: SciTE4AutoHotkey extension - Count occurrences of word
thanks aldrinjohnom , that worked.
- 23 Apr 2018, 07:41
- Forum: Scripts and Functions (v1)
- Topic: SciTE4AutoHotkey extension - Count occurrences of word
- Replies: 50
- Views: 18432
Re: SciTE4AutoHotkey extension - Count occurrences of word
Since "Count Occurence" is still not integrated to SciTE4Autohotkey. For those people who are still digging on the outcome of this post, haichen's download does not work anymore but instead I assembled all of their codes right away. Credits: haichen empardopo boiler download link: Count Occurence(e...
- 31 Mar 2018, 23:38
- Forum: Ask for Help (v1)
- Topic: Prevent double clicking system tray icon Topic is solved
- Replies: 2
- Views: 957
Re: Prevent double clicking system tray icon Topic is solved
Thanks for the suggestion of A_tickcount. This works perfectly. Menu, tray, Click, 1 Menu, tray, Add, Open Menu, ShowGUI Menu, tray, default, Open Menu return ShowGui: Toggle := !Toggle if Toggle = 0 Temp1 = %A_TickCount% else Temp2 = %A_TickCount% TimeElapse := (Temp2 - Temp1) if (TimeElapse > 0 an...
- 31 Mar 2018, 21:38
- Forum: Ask for Help (v1)
- Topic: Prevent double clicking system tray icon Topic is solved
- Replies: 2
- Views: 957
Prevent double clicking system tray icon Topic is solved
I want to be able to left click the system tray icon and open the default menu item which will open a Gui. I want any double clicking on the system tray icon to be ignored. The example code below attempts to display the GUI twice causing the "The same variable cannot be used for more then one contro...
- 01 Feb 2018, 08:59
- Forum: Ask for Help (v1)
- Topic: INetwork.GetName() unusual behavior
- Replies: 1
- Views: 559
- 19 Jan 2018, 09:46
- Forum: Ask for Help (v1)
- Topic: INetwork.GetName() unusual behavior
- Replies: 1
- Views: 559
INetwork.GetName() unusual behavior
I have a very unusual issue with retrieving the network name. With the code below I am monitoring the network name (windstream) which is the name of my wireless network. It returns windstream until I open Devices and Printers and click Add Printer. While scanning for a new printer the network name c...
- 18 Jan 2018, 01:40
- Forum: Ask for Help (v1)
- Topic: INetwork.GetName catastrophic failure
- Replies: 3
- Views: 773
Re: INetwork.GetName catastrophic failure
Thanks HotKeyIt, using "Try" has resolved the catastrophic failure error. I have a very unusual issue with retrieving the network name. With the code below I am monitoring the network name (windstream) which is the name of my wireless network. It returns windstream until I open Devices and Printers ...
- 13 Jan 2018, 17:47
- Forum: Ask for Help (v1)
- Topic: INetwork.GetName catastrophic failure
- Replies: 3
- Views: 773
Re: INetwork.GetName catastrophic failure
thanks HotKeyIt, I will try
I never was able to reproduce the error on command, I just have to wait and see if comes back.
Code: Select all
try ActiveNetwork := INetwork.GetName()
I never was able to reproduce the error on command, I just have to wait and see if comes back.
- 13 Jan 2018, 17:12
- Forum: Ask for Help (v1)
- Topic: File run when GUI button released. Topic is solved
- Replies: 3
- Views: 729
Re: File run when GUI button released. Topic is solved
Here is an example using OnMessage OnMessage(0x201, "WM_LBUTTONDOWN") gui, add, button,,Continue Gui, show, autosize return WM_LBUTTONDOWN() { MouseGetPos,,,,Control if Control = button1 gosub ButtonWasReleasedLabel return } ButtonWasReleasedLabel: MsgBox button was released return GuiEscape: exitapp
- 13 Jan 2018, 16:58
- Forum: Ask for Help (v1)
- Topic: File run when GUI button released. Topic is solved
- Replies: 3
- Views: 729
Re: File run when GUI button released. Topic is solved
Why when the button is released instead of when the button is pressed? As Bobo suggested OnMessage probably would be better. But this should work also when the left button is released. gui, add, button,,Continue Gui, show, autosize return ~lbutton up:: MouseGetPos,,,,Control if Control = button1 got...
- 13 Jan 2018, 15:41
- Forum: Ask for Help (v1)
- Topic: INetwork.GetName catastrophic failure
- Replies: 3
- Views: 773
INetwork.GetName catastrophic failure
Can someone tell me how to eliminate this catastrophic failure error or at least suppress it? Suppressing should be ok because when I click YES to continue my script still works as expected. I tried to add the screenshot to this post but the preview does not show it. So I added a link to the image b...
- 23 Dec 2017, 09:17
- Forum: Scripts and Functions (v1)
- Topic: MyIpChanger ( IP Subnet and Gateway)
- Replies: 7
- Views: 13237
Re: MyIpChanger ( IP Subnet and Gateway)
I fixed the link again and added the script to the bottom on the first post.
Here is the link also.
https://sourceforge.net/projects/myipchanger/files/MyIpChanger.ahk/download
Here is the link also.
https://sourceforge.net/projects/myipchanger/files/MyIpChanger.ahk/download
- 01 Nov 2017, 01:06
- Forum: Scripts and Functions (v1)
- Topic: SavePictureAs - (Save Image/Picture)
- Replies: 34
- Views: 72447
Re: SavePictureAs - (Save Image/Picture)
I uploaded SavePictureAs version 11.0.
SavePictureAs now supports Microsoft Edge.
I would like some feed back on how well it works with Microsoft Edge.
thanks
DataLife
SavePictureAs now supports Microsoft Edge.
I would like some feed back on how well it works with Microsoft Edge.
thanks
DataLife
- 20 Oct 2017, 09:02
- Forum: Ask for Help (v1)
- Topic: Picture as a background issue
- Replies: 2
- Views: 493
Re: Picture as a background issue
BackgroundTrans does not fix the issue. It makes a control visible that is under a picture control. It makes the control and the "control background color" show through.