Stop Timer from Another Script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wideeyedguy
Posts: 60
Joined: 11 Feb 2016, 11:49

Stop Timer from Another Script

21 Aug 2018, 14:35

I have two separate scripts that I call from within Excel which change printer settings of a PDF printer depending on how I want to print to PDF. The scripts reside in their own filename.ahk file. I have this setup this way simply because I'm not certain how to call one script or another within a common AHK file.

I've been thinking about adding a procedure in one printer script that sets/starts a Timer for a Target Label within that same script file. Instead of leaving the Timer looping in the background, once I'm finished with the printing process, I wanted to see if I could end/stop the Timer from within the second of the two printer scripts.

Is it possible to stop a timer from a script that resides in a separate AHK file?

Thanks in advance,
weg
I say this optimistically . . . One day I'll understand it.
But today is not that day!
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Stop Timer from Another Script

21 Aug 2018, 14:43

Have a look at this. Cheers.
start initiation of other ahk files - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 83#p234783
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Aqualest, UncouthGoose and 122 guests