Search found 260 matches

by Kobaltauge
28 Mar 2019, 05:07
Forum: General Discussion
Topic: A Github organisation for ahkscript
Replies: 226
Views: 132072

Re: A Github organisation for ahkscript

please add me: MassimoCastell on github
by Kobaltauge
28 Mar 2019, 04:04
Forum: Ask For Help
Topic: ToolTip duration problem
Replies: 16
Views: 2211

Re: ToolTip duration problem

Does the Tooltip vanish because "another command" is executed?
Your two line code works on my computer.
by Kobaltauge
27 Mar 2019, 01:38
Forum: Ask For Help
Topic: copy images from camera
Replies: 13
Views: 2112

Re: copy images from camera

Start with this In the source the file are named: 2019-03-26-001.jpg 2019-03-27-001.jpg 2019-03-27-002.jpg 2019-03-27-003.jpg #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Rec...
by Kobaltauge
26 Mar 2019, 00:43
Forum: Ask For Help
Topic: copy images from camera
Replies: 13
Views: 2112

Re: copy images from camera

Go for it. Scr1pter gave you the solution in pseudocode. You only have to write it down.
Take your shot and if something doesn't work or your stuck you can ask the detail.
by Kobaltauge
25 Mar 2019, 10:09
Forum: Ask For Help
Topic: regex issue in AKH Topic is solved
Replies: 5
Views: 778

Re: regex issue in AKH Topic is solved

Hi Odlanir.
Beautiful solution. Unfortunately in the end I need all numbers in one line. Therefore, I can't use the "`am)" switch. But with your information now I know about these switches for future problems.
by Kobaltauge
25 Mar 2019, 06:31
Forum: Ask For Help
Topic: regex issue in AKH Topic is solved
Replies: 5
Views: 778

regex issue in AKH Topic is solved

Hi. I'm getting emails where drawing numbers are sent to me. Normally they are sent one number per line and in their "normal" format "X12345678". But sometimes the sender use spaces and sentences. Example: Line 1 n1234 5678 Line 2 n2345 6789. Line 3 n3456 7890 If I take the whole text in the clipboa...
by Kobaltauge
22 Mar 2019, 12:15
Forum: Ask For Help
Topic: Disabling hotscripts after use Topic is solved
Replies: 3
Views: 619

Re: Disabling hotscripts after use Topic is solved

What do you mean with hotscripts? Hotkeys or hotstrings?
Are your lists in a special program or window? If yes, you could bind the hotkeys to the window.
Example this right mouse button works only in Outlook

Code: Select all

#if WinActive("ahk_class rctrl_renwnd32") ;Outlook
~RButton::
...
...
by Kobaltauge
22 Mar 2019, 12:10
Forum: Ask For Help
Topic: Perform action before original hotkey function
Replies: 5
Views: 954

Re: Perform action before original hotkey function

Could you split it up. When pressing CTRL+h do the first action. When release CTRL+h do the second action?
by Kobaltauge
22 Mar 2019, 04:44
Forum: Ask For Help
Topic: Issues with toggling(mousewheelup)
Replies: 5
Views: 701

Re: Issues with toggling(mousewheelup)

Welcome bluetruesky.
If you post code, it is better you switch to the "Full Editor" and put the code between the "code" tags. It's better readable.
The syntax of your snippet is completed messed up. Please check if it's a copy error or if this is your real script.
by Kobaltauge
22 Mar 2019, 02:15
Forum: Ask For Help
Topic: Reading Userdefined Properties of files
Replies: 0
Views: 371

Reading Userdefined Properties of files

Hello! I want to read the userdefined properties from files in a specific folder. I found this skipt in the archived forum and it works properly. https://autohotkey.com/board/topic/69137-extended-file-properties-modifying-and-saving/ Unfortunately it only reads the "standard" properties, but I need ...
by Kobaltauge
21 Mar 2019, 02:37
Forum: Ask For Help
Topic: Tap A quickly = output A, but hold for at least X secs = spam A until lift finger
Replies: 10
Views: 1720

Re: Tap A quickly = output A, but hold for at least X secs = spam A until lift finger

I don't have the solution but a little skript derived from the TooltipMouseMenu.ahk founud in this forum. The skript measures the time how long I hold the right mouse button. I think, you can modify it for your purpose. ~RButton:: string := clipboard clipboard = HowLong = 0 while(getKeyState("RButto...
by Kobaltauge
21 Mar 2019, 00:44
Forum: Ask For Help
Topic: Replace All Text In File
Replies: 10
Views: 3385

Re: Replace All Text In File

Thank you for testing.
Just learnd that the line

Code: Select all

file := FileOpen("MyTextFile.txt", "w")
overwrites the file. I thought it opens only the handler and

Code: Select all

file.write()
was needed to overwrite with an empty line.
by Kobaltauge
20 Mar 2019, 06:54
Forum: Ask For Help
Topic: Replace All Text In File
Replies: 10
Views: 3385

Re: Replace All Text In File

The documentation recommends deleting the file before.
But you can use the file object like Rohwedder wrote. And instead for appending you overwrite the file.

Code: Select all

file := FileOpen("MyTextFile.txt", "w") 
file.write()
file.close()
by Kobaltauge
18 Mar 2019, 04:21
Forum: Ask For Help
Topic: A_LastError meaning
Replies: 5
Views: 773

Re: A_LastError meaning

Do the mails have special characters in the subject that is not allowed as filename?
by Kobaltauge
17 Mar 2019, 14:51
Forum: Ask For Help
Topic: [v2] TabControl children
Replies: 8
Views: 1105

Re: [v2] TabControl children

Kobaltauge wrote:
17 Mar 2019, 12:38
I would like to help. But GuiCreate() is a "nonexistent function" on my PC. I can't run your example.
I'm such a idi*t. Sorry. After a while I realised the [v2] in your post.
by Kobaltauge
17 Mar 2019, 12:38
Forum: Ask For Help
Topic: [v2] TabControl children
Replies: 8
Views: 1105

Re: [v2] TabControl children

I would like to help. But GuiCreate() is a "nonexistent function" on my PC. I can't run your example.
by Kobaltauge
17 Mar 2019, 07:48
Forum: Ask For Help
Topic: Move operation to clipboard
Replies: 6
Views: 1122

Re: Move operation to clipboard

Hi The clipboard is overwritten every cycle. Therefore, you get only the last paragraph. And at the end you SendRaw ^c . This doesn't paste the clipboard, it sends literally "^c" This worked in my tests. ^!+p:: Loop, parse, Clipboard, `n, `r { if (A_LoopField <> "") { tmpvar := "<p>" A_LoopField "</...
by Kobaltauge
17 Mar 2019, 05:48
Forum: Ask For Help
Topic: [v2] TabControl children
Replies: 8
Views: 1105

Re: [v2] TabControl children

I don't know anything about GUI programming in AHK. It just an idea.
Is there a possibility to "hide" the tabs instead to delete them? So the association would remain to the tab.
by Kobaltauge
17 Mar 2019, 05:24
Forum: Ask For Help
Topic: How can I get the barcode ?
Replies: 6
Views: 1321

Re: How can I get the barcode ?

The font is the barcode. If you don't have the font installed, then there is nothing that creates it.
You are looking for a method to create barcodes implemented into AHK? Or do I have a wrong understanding?

Go to advanced search