is that possible?
Moderators: Dorian (MJT support), JRL
is that possible?
hi all!, i have a macro that i want to compile into a exe, that macro must to work on schuder times but i dont want to put fixed times, i want something like the user open the exe select the date/time that he wants to execute the macro, press ok, the exe got minimized and execute the macro on the date/time that the user have selected before, is that possible? yes? how?
This should get you started
This should get you started....
[code]
Input>Target_date,Enter Date (mm/dd/yyyy) to execute,
Input>Target_time,Enter Time (hh:mm 24 hour time) to execute,
Year>Cur_Year
Month>Cur_Month
Day>Cur_Day
Hour>Cur_Hour
Min>Cur_Min
Sec>Cur_Sec
Separate>Target_date,/,arrItems
Let>Target_Month=arrItems_1
Let>Target_Day=arrItems_2
Let>Target_Year=arrItems_3
Separate>Target_time,:,arrItems
Let>Target_Hour=arrItems_1
Let>Target_Min=arrItems_2
MessageModal>Current Date is %Cur_Month%/%Cur_Day%/%Cur_Year% %CRLF%Current Time is %Cur_Hour%:%Cur_Min%:%Cur_Sec% %CRLF%%CRLF%Target Date is %Target_Month%/%Target_Day%/%Target_Year% %CRLF%Target Time is %Target_Hour%:%Target_Min%
Label>Loop
Year>Cur_Year
Month>Cur_Month
Day>Cur_Day
Hour>Cur_Hour
Min>Cur_Min
If>Cur_Year=Target_Year
If>Cur_Month=Target_Month
If>Cur_Day=Target_Day
If>Cur_Hour=Target_Hour
If>Cur_Min=Target_Min
MessageModal>It is Time!
Endif
Endif
Endif
Endif
Endif
Wait>30
Goto>Loop
[/code]
[code]
Input>Target_date,Enter Date (mm/dd/yyyy) to execute,
Input>Target_time,Enter Time (hh:mm 24 hour time) to execute,
Year>Cur_Year
Month>Cur_Month
Day>Cur_Day
Hour>Cur_Hour
Min>Cur_Min
Sec>Cur_Sec
Separate>Target_date,/,arrItems
Let>Target_Month=arrItems_1
Let>Target_Day=arrItems_2
Let>Target_Year=arrItems_3
Separate>Target_time,:,arrItems
Let>Target_Hour=arrItems_1
Let>Target_Min=arrItems_2
MessageModal>Current Date is %Cur_Month%/%Cur_Day%/%Cur_Year% %CRLF%Current Time is %Cur_Hour%:%Cur_Min%:%Cur_Sec% %CRLF%%CRLF%Target Date is %Target_Month%/%Target_Day%/%Target_Year% %CRLF%Target Time is %Target_Hour%:%Target_Min%
Label>Loop
Year>Cur_Year
Month>Cur_Month
Day>Cur_Day
Hour>Cur_Hour
Min>Cur_Min
If>Cur_Year=Target_Year
If>Cur_Month=Target_Month
If>Cur_Day=Target_Day
If>Cur_Hour=Target_Hour
If>Cur_Min=Target_Min
MessageModal>It is Time!
Endif
Endif
Endif
Endif
Endif
Wait>30
Goto>Loop
[/code]