AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[module & tool] CronGUI 0.3 - cron timer GUI

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
tonne



Joined: 06 Jun 2006
Posts: 1158
Location: Denmark

PostPosted: Wed Sep 05, 2007 12:41 pm    Post subject: [module & tool] CronGUI 0.3 - cron timer GUI Reply with quote

GUI for adding, editing, deleting and running cron timers in AutoHotkey.

This module comes in two files, the library:
http://www.autohotkey.net/~tonne/Cron.ahk
and the GUI script:
http://www.autohotkey.net/~tonne/CronGui.ahk

Note that the library can be used without the GUI!
Also note that this is the first version!

Version 0.3:
Fixed some global variable name bloating, thanks goes to majkinetor

Comments and suggestions are welcome.
_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir


Last edited by tonne on Tue Oct 09, 2007 9:39 am; edited 4 times in total
Back to top
View user's profile Send private message
Andreone



Joined: 20 Jul 2007
Posts: 257
Location: Paris, France

PostPosted: Wed Sep 05, 2007 1:04 pm    Post subject: Reply with quote

Sad The link http://www.autohotkey.net/~tonne/CronGUI.ahk points to an empty file
Back to top
View user's profile Send private message
tonne



Joined: 06 Jun 2006
Posts: 1158
Location: Denmark

PostPosted: Wed Sep 05, 2007 1:16 pm    Post subject: Reply with quote

Seems that AutoHotkey.net is case sensitive! I changed the URL in the first topic.
_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3624
Location: Belgrade

PostPosted: Wed Sep 05, 2007 1:24 pm    Post subject: Reply with quote

This is not module tonne. Smile
_________________
Back to top
View user's profile Send private message MSN Messenger
rpnfan



Joined: 01 Aug 2007
Posts: 5

PostPosted: Sat Oct 06, 2007 7:17 pm    Post subject: Thanks Reply with quote

Thanks Tonne, great job Smile Such a lib is indeed extremly useful! Works fine for me so far. The GUI is a nice addition too.
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3624
Location: Belgrade

PostPosted: Tue Oct 09, 2007 8:51 am    Post subject: Reply with quote

Hello tonne.

Global Variables (alphabetical)
--------------------------------------------------
0[1 of 3]: 0
cron[0 of 0]:
cron_[0 of 0]:
cron_0[0 of 0]:
cron_1[0 of 0]:
cron_2[0 of 0]:
cron_3[0 of 0]:
cron_4[0 of 0]:
cron_5[0 of 0]:
cron_logfilename[0 of 0]:
cron_name[0 of 0]:
cron_next[0 of 0]:
cron_nextid[0 of 0]:
cron_pid[0 of 0]:
cron_records[0 of 0]:
cron_time[0 of 0]:
cron_tooltip[7 of 7]: Running
cron_wait[1 of 3]: 0
ErrorLevel[1 of 3]: 0
firstdate[0 of 0]:
firstmth[0 of 0]:
info[0 of 0]:
parameters[0 of 0]:
pid[0 of 0]:
pids0[0 of 0]:
seconddate[0 of 0]:
secondmth[0 of 0]:
target[0 of 0]:
targets0[0 of 0]:
time[0 of 0]:
workingdir[0 of 0]:


Module shouldn't have such global variables (blue). Mos of them are tipicaly used in other scripts (pid, time....)
_________________
Back to top
View user's profile Send private message MSN Messenger
tonne



Joined: 06 Jun 2006
Posts: 1158
Location: Denmark

PostPosted: Tue Oct 09, 2007 9:40 am    Post subject: Reply with quote

Thank you majkinetor!
I made modifications to privatize my variables.
_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir
Back to top
View user's profile Send private message
simpleuser



Joined: 31 Oct 2007
Posts: 2

PostPosted: Wed Oct 31, 2007 11:32 am    Post subject: Reply with quote

Hi guys,
Sry for my question, but i'm a beginner.
I took Cron.ahk and CronGui.ahk into the library (%A_ProgramFiles%\AutoHotkey\Lib).
I can use the cron_insert command: the notepad started.
But how can I use GUI? How can I display the commands? Edit the commands?
My simple script is:
Code:
#q::
cron_insert("28","11","31","10","*","notepad.exe")
return

I try f11, but it doesn't work...
What should I do? Rolling Eyes Please help. Thx Smile
Back to top
View user's profile Send private message
tonne



Joined: 06 Jun 2006
Posts: 1158
Location: Denmark

PostPosted: Wed Oct 31, 2007 11:46 am    Post subject: Reply with quote

The library (cron.ahk) don't have a GUI.
The CronGUI script is a standalone app using the library.

Did you try to run the CronGui.ahk?
_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir
Back to top
View user's profile Send private message
simpleuser



Joined: 31 Oct 2007
Posts: 2

PostPosted: Wed Oct 31, 2007 11:58 am    Post subject: Reply with quote

tonne wrote:
The library (cron.ahk) don't have a GUI.
The CronGUI script is a standalone app using the library.

Did you try to run the CronGui.ahk?


Do you see, what stupid i am? Laughing
Thank you very much! It's very useful! Have a nice day! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group