yaqwa
-
Posts
96 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by yaqwa
-
-
ok thanks so far.
If you have an example macro how this substract think is working i will be very thankfull!
I will read the help files - but you know if you have a simple axample you can study it is really better then the words you read.
-
Any chance you can tell me where i can read about that calculation thing? i did not find anything in The help file!
-
Thanks
it is working in that way so i get no data or at least one time
But always the time who is found at the second record line.
Btw. yes i changed the times - this is the real times at the end of this message - but ok
i tried and read the text file process - i understand now that mex reads all the lines in the text file into variables.
ok but why does he always shows the time standing in the first (or second row of the file)(i did not get these odd characters so i selected the 1 record)
Hey it is ok to give me the work to calculate and to the work - but i really do not know how.
oh - when i write this - i got ideas but i did not get the point how to do it
in my simple words ...............
i think i have to read the currend time chenged in decimal?
then i must calculate the difference between %now% and one of the rows who comes next to this time
so if it is 20:00 i have to change it into 2000
then the next row to find is 2030
subtract 2030 with 2000 and get 30
change from decimal into time = 30 minutes
so first i have to change the %now% time into decimal
then i have to change the times in the text file into decimal?
the convert time/into decimal - i had to create a new variable........?
and then i do not know
how does mex knows what he should convert when i must use a new variable
how can i tell him that it must be the %now% and the "times"????
how do i or mex finds out where the next number is?
how does mex finds out it is 2030 (in this example)
the more i think of this the less i understand
----------------------
i know you have more to do than be my baby sitter - but can you at least tell me the commands i have to use ???
with one or two hints?
so i can use the help ?
---------------------
20:55
20:30
20:00
19:35
18:15
17:45
17:15
16:45
15:45
14:45
14:43
14:40
13:45
13:15
12:37
12:17
12:07
11:47
11:33
11:00
so again - i attached the macro and my text file
<DATE/TIME Format="hh:mm" Flags="\xB0" Date="30.12.1899" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="25" Second_Offset="0" Left="Center" Top="Center" Monitor="0" Variable="%Now%" IsDateVar="FALSE" _COMMENT="Set the current time."/><TEXT FILE BEGIN PROCESS Filename="C:\\Users\\PK\\Desktop\\Times.txt" Start_Record="2" Process_All="TRUE" Records="1" Variable="%Times%"/>
<IF VARIABLE Variable="%Now%" Condition="\x03" Value="%Times%" IgnoreCase="FALSE"/>
<TEXT BOX DISPLAY Title="Countdown" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\qc\\b\\f0\\fs20 The time now is %NOW%\r\n\\par \r\n\\par Which is later than ALL the times in the list!\\b0\\fs16 \r\n\\par \\pard \r\n\\par }\r\n" Left="821" Top="Center" Width="318" Height="200" Monitor="0" OnTop="TRUE" Keep_Focus="TRUE" Mode="\x02" Delay="1" _COMMENT="Display appropriate message."/>
<DELAY Flags="\x01" Time="3"/>
<MACRO STOP/>
<END IF/>
<IF VARIABLE Variable="%Now%" Condition="\x05" Value="%Times%" IgnoreCase="FALSE"/>
<COMMENT Value="Script here to calculate minutes remaining."/>
<TEXT BOX DISPLAY Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang2057{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\qc\\b\\f0\\fs20 The time is now \\f1 %Now%\r\n\\par \r\n\\par \\f0 The next schedule is at %Times%\r\n\\par \r\n\\par Which is in xxx minutes.\\f1 \r\n\\par \\pard\\b0\\fs16 \r\n\\par \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="TRUE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/>
<BREAK _COMMENT="No need to process further Time entries."/>
<END IF/>
<TEXT FILE END PROCESS/>
-
Sorry - it is my bad english
So no schedules - i meant tasks or dates!
and yes 6 years and i can do a lot - but i have problems with these if /else things and variables - these are thing i do not really know how to create.
So i have a variable to send the correct time to a text box.
But i really do not know how to compare this with the dates and to see this in the box.
i created a txt file where i can put in every row a time
so it look like this
13:15
13:45
14:45
15:45
16:45
17:15
14:40
14:43
17:45
18:15
19:35
20:00
but what i do not understand is - how to take these times in a variable so i get a text box with
" it is 14:00" (this i can do :-))
"next date is in 45 minutes at 14:45" (this is what i do not know how to do)
so what i did it this (thanks for the help with the text file process)
<DATE/TIME Format="hh:mm:ss" Flags="\xB0" Date="01.06.2009 13:42:08" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="25" Second_Offset="0" Left="Center" Top="Center" Monitor="0" Variable="%Now%" IsDateVar="FALSE" _COMMENT="Set the current time."/><TEXT FILE BEGIN PROCESS Filename="C:\\Users\\PK\\Desktop\\Dates.txt" Start_Record="1" Process_All="TRUE" Records="1" Variable="%Dates%"/>
<TEXT FILE END PROCESS/>
<TEXT BOX DISPLAY Title="Countdown" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 Now it is %NOW%\r\n\\par \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0" _COMMENT="Create the initial text box to be updated."/>
but i think my brain did not understand how to go on
-
Doesn't look too difficult. What does your macro look like so far? Are you specifying the schedules as a text or CSV or Excel file with a fixed name and location, or what? With the data in time sequence, a search or 'look-up' followed by use of the Date/Time commands and a bit of calculation should do it.
--
Terry, East Grinstead, UK
i can create a txt file or an excel sheet - no problem with both - what you think it is better
so far i just created a time and a text box
but i do not know how to insert the other times and how to use it
<DATE/TIME Format="hh:mm:ss" Flags="\xB0" Date="01.06.2009 13:42:08" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="25" Second_Offset="0" Left="Center" Top="Center" Monitor="0" Variable="%Now%" IsDateVar="FALSE" _COMMENT="Set the current time."/><TEXT BOX DISPLAY Title="Countdown" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 Now it is %NOW%\r\n\\par \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0" _COMMENT="Create the initial text box to be updated."/>
-
next try to explain :-)
normally i look at my watch - see it is 14:00 than i look at my desktop to see when the next date happens so i look at a lot of dates and must look where the next date happens.
so what i want to do in MEX pro is just to click on a icon or a shortcut and a textbox appears who just told me what time it is now and how long it is until the next date.
so at the moment i look at my pc watch and than look at this picture on my desktop and count for myself how long until the next date.
And now i want a
It is 17:00 - your next date is in 22 minutes at 17:22 for example
thats all
-
Are all of those existing ME Pro macros you already run?
I think Scheduled Tasks built into Windows might be a better approach, as it displays the sort of information you want:
--
Terry, East Grinstead, UK
nono
i think i explained it wrong.
I have normal schedules i have to do - not in me pro or so
just to do's over the day
but i want to know how long it takes for the next todo
do i explained it better now?
sorry for my english
-
Hi my Friends - maybe you can help me a bit!
I have at least 32 schedules a day - and yes i can see them in a list :-)
So what i want to do is this
Click on a button or create a shoertcut (whatever) and i get a window who tells me when the last schedule was ansd when the next schedule is and begins.
Means i (in the perfect way) want to see a window with
Now it is 14:00
Next Schedule begins in 30 min and 00 sec at 14:30
Help please
What must i do?
BTW. The Times are differnet but the same every day. Here is some times i need every day
12:37
13:15
13:45
14:45
15:45
16:45
17:15
14:40
14:43
17:45
-
Just wanted to tell you that i found a easy way.
I created the macro to count the files - for 5 folders and placed them all in one text box.
After the box appears a new macro started where i can choose the folder i want to open
so i see where are the files and have the chance to open it in a simple click
beter than run a macro all the time
thanks for your help - without i would never come so far.
-
Hi and thanks - sorry was very busy so i cant answer so far.
Ok so
1. i am with you that a always running macro.
As i said somwhere above - i just need to run it all 15 minutes or so just to renew and see how many files are inside. I do not need the macro permanent running. I want to see "oh there are 200 files inside" and maybe after 2 hours that there are 220 or so.
so a scheduled macro wo is running all 30 minutes or so is absolutely ok for me.
and i also do not group the icons. so it should work.
so all i must do is make my macro and put it into the tray (minimized)
but
if it is open the macro is still running wright?
so i must have it running the whole time
or is there a other way to do this so the macro just runs all 30 minutes?
and
2.
if i minimize it to the tray ........... i do not see the number of files - just the macro express icon - so what am i doing wrong?
-
questions over questions...............
I never heard about the icon in the tray so ?
-
Ok!
I tried it since yesterda - and i really have no clue how to do this.
Problems are i am too dumb to really look behind all those variables and my english is not the best so i do not understand some of the help files.
So please please help!!!
I do not know how to
1. make that loop permanent ( i only can set it up for x times)
2. f the count changes use the “Text box close” command and then re-open - maybe i can do this with a "if" "than" rule but i can do that only if i can set up the first thing
3. how do i place all this into the taskbar or tray???????? Must i create a popup macro? and if yes - is it a process event or a floating menu ??????
Please help!
I can understand that you(who ever) do not want to write all of that code for me - and i am really willing to learn - but i need a lot of hints so i can walk through that jungle!
-
Hi
ok i understand the thing with the loop. but i need help .A 15 or 30 minutes loop would be ok for me. So i should also not need the second macro.
I think i can forget to click on the box to open the folder but i can live with that.
But what i do not understand is how to set it up with an icon in the taskbar.
so here is the macro again - any chance you can help with loop and with the taskbar?
<VARIABLE SET INTEGER Option="\x00" Destination="%FileCount%" Value="0"/><REPEAT WITH FOLDER Path="F:\\Eigene Dateien\\Eigene Bilder" OnlyFiles="TRUE" Destination="%MyStr%" FullPath="FALSE" ProcSubfolders="FALSE"/>
<VARIABLE MODIFY INTEGER Option="\x07" Destination="%FileCount%"/>
<END REPEAT/>
<IF VARIABLE Variable="%MyStr%" Condition="\x03" Value="2" IgnoreCase="FALSE"/>
<TEXT BOX DISPLAY Title="Eigene Dateien" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1031{\\fonttbl{\\f0\\fnil Tahoma;}{\\f1\\fnil\\fcharset0 Tahoma;}}\r\n{\\colortbl ;\\red128\\green0\\blue0;}\r\n\\viewkind4\\uc1\\pard\\qc\\cf1\\b\\f0\\fs40 %FileCount%\\f1 Files in Eigene Dateien\\cf0\\b0\\f0\\fs16 \r\n\\par }\r\n" Left="Center" Top="Center" Width="567" Height="145" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x02" Delay="0"/>
<VARIABLE SET STRING Option="\x00" Destination="%T[1]%" Value="A" NoEmbeddedVars="FALSE"/>
<END IF/>
-
sorry i really do not know how to do this!
I think this also means i must change the above macro a bit?
-
thanks i created a new thread
-
Created some counts in Folders
But what i need is a little bit more. Maybe you can help me for this.
Ok i created a FileCount.
<VARIABLE SET INTEGER Option="\x00" Destination="%FileCount%" Value="0"/><REPEAT WITH FOLDER Path="F:\\Eigene Dateien\\Eigene Bilder" OnlyFiles="TRUE" Destination="%MyStr%" FullPath="FALSE" ProcSubfolders="FALSE"/>
<VARIABLE MODIFY INTEGER Option="\x07" Destination="%FileCount%"/>
<END REPEAT/>
<IF VARIABLE Variable="%MyStr%" Condition="\x03" Value="2" IgnoreCase="FALSE"/>
<TEXT BOX DISPLAY Title="Eigene Dateien" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1031{\\fonttbl{\\f0\\fnil Tahoma;}{\\f1\\fnil\\fcharset0 Tahoma;}}\r\n{\\colortbl ;\\red128\\green0\\blue0;}\r\n\\viewkind4\\uc1\\pard\\qc\\cf1\\b\\f0\\fs40 %FileCount%\\f1 Files in Eigene Dateien\\cf0\\b0\\f0\\fs16 \r\n\\par }\r\n" Left="Center" Top="Center" Width="567" Height="145" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/>
<VARIABLE SET STRING Option="\x00" Destination="%T[1]%" Value="A" NoEmbeddedVars="FALSE"/>
<MULTIPLE CHOICE MENU Style="\x00" Result="\x00" Dest="%T[1]%" Title="Auswahl" Prompt="%FileCount% Files in Eigene Dateien" Options="&1 Anzeigen\r\n\r\n\r\n&2 Ende\r\n" Left="Center" Top="Center" Monitor="0" Width="292" Height="226" OnTop="FALSE"/>
<IF VARIABLE Variable="%T[1]%" Condition="\x00" Value="A" IgnoreCase="FALSE"/>
<PROGRAM LAUNCH Path="C:\\Program Files (x86)\\ACDSee32\\ACDSee32.exe" Mode="\x00" Parameters="f:\\Eigene~1\\eigene~1" Default_Path="FALSE" Wait="1" Get_Console="FALSE"/>
<ELSE/>
<IF VARIABLE Variable="%T[1]%" Condition="\x00" Value="D" IgnoreCase="FALSE"/>
<END IF/>
<END IF/>
<END IF/>
this works fine but now comes the difficult problem. I want to show it but not in a Text box.
There are several possibilities but i do not know what works and what not.
So
Possibility 1 (like most)
can place a icon in the taskbar who tells me how many files are in the folder
but i think this can not work (i had a program named samurize there it worked but samurize will not run under Win 7 64 bit in the taskbar)
2.
this could maybe work and will be ok for me
changed an icon in the taskbar depending of how many files are in the folder ( means if there are 50 files the icon changed to lets say 50.ico and if there are 1000 it will change to 1000.ico or similiar.)
if this will not work in the taskbar maybe it can work on the desktop?
help would be great
-
Wonderful - i searched for this for a while.
But what i need is a little bit more. Maybe you can help me for this.
Ok i created a FileCOunt.
this works fine but now comes the difficult problem. I want to show it but not in a Text box.
There are several possibilities but i do not know what works and what not.
So
Possibility 1 (like most)
can place a icon in the taskbar wo tells me how many files are in the folder
but i think this can not work (i had a program named samurize there it worked but samurize will not run under Win 7 64 bit in the taskbar)
2.
this could maybe work and will be ok for me
changed an icon in the taskbar depending of how many files are in the folder ( means if there are 50 files the icon changed to lets say 50.ico and if there are 1000 it will change to 1000.ico or similiar.)
if this will not work in the taskbar maybe it can work on the desktop?
help would be great
-
working now with the second suggestion
thanks a lot
-
the suggestion - sorry i do not understand what exactly you mean.
Your codes:
I used both but the second one gives me a error in line 3 and Win7 told me that there are some Folders which could not be deleted.
-
i tried
the first one is working - the second one not.
It still tells me that there are files open who can not be deleted.
-
I tried this:
<REPEAT WITH FOLDER Path="c:\\temp" OnlyFiles="FALSE" Destination="%Folder Name%" FullPath="TRUE" ProcSubfolders="TRUE"/>
<IF FOLDER EXISTS Path="%Folder Name%"/>
<DELETE FILE/FILES Path="%Folder Name%" Progress="FALSE" Recurse="TRUE" Permanent="FALSE" _IGNORE="0x0032"/>
<END IF/>
<END REPEAT/>
but it wont work because some files are in use inside the folders
so what am i doing wrong?
-
Working - thanks a lot
But now - how about those subfolders?
Problem is that they also exists - i do not know the names and they have files inside.
I can delete the files in the subfolders - no problem but how can i delete the empty folders than?
-
This is a temporary Folder - so i really do not know what is inside :-)))
So i think the first one could be better - but i really do not know how to do this.
So help please or an other idea?
-
Hi
I want to delete all files in my temp folder and than shut down. I can create a macro just with "delete files or folders" c:\temp but he stops at the first file who cannot be deleted because it is in use.
So how can i set up this macro so he deletes all files and Subfolders in c:\temp except (skips) those who are in use.
Time and see next schedule
in Macro Express and Macro Express Pro
Posted
Thank you soooooooo much. I swear i will work on it and learn what and how you did it so i can do it for my self the next time :-)