The DayOfWeek function found in the Macro Scheduler only allows the return of today's day of the week, from what I see. Is there any way to look at a certain date and return that day's day of the week?
Thanks for reading.
Search found 84 matches
- Mon Jul 21, 2014 10:26 am
- Forum: Beginners
- Topic: Returning Day of Week based on Date
- Replies: 3
- Views: 4294
- Mon Jul 21, 2014 8:32 am
- Forum: Beginners
- Topic: Parameters with Macro Application
- Replies: 3
- Views: 4518
Parameters with Macro Application
There are some files that are able to detect trailing parameters when used with Command Prompt or Task Scheduler. Is there any way to apply a set of parameters in a Macro Application and have the system able to detect them within the code?
Thanks for reading.
Thanks for reading.
- Mon Mar 24, 2014 4:36 am
- Forum: Beginners
- Topic: Trigger and Files
- Replies: 1
- Views: 2650
Trigger and Files
There is a task that I needed to accomplish, which is to change some things in a CSV file like removing double quotations in strings, and then save it in TXT: 1) Detect for new files in a certain folder 2) Use that file (.csv) and edit the files slightly 3) Save that file under a new format (.txt) N...
- Mon Mar 24, 2014 3:30 am
- Forum: Beginners
- Topic: (First Letter) Not Appropriate
- Replies: 2
- Views: 4239
(First Letter) Not Appropriate
When I use the ReadLn function to read each line in a file, I would get an error saying "Line: (Line No) (First letter after quotation mark) not appropriate". To illustrate, I will use an example. Use this in a .txt or .csv file: "Dunnow"|"DESREC DDDF"|1324|222222|True "FDEXxxx"|"ASDFEW DSXEX"|123|8...
- Mon Nov 11, 2013 3:26 am
- Forum: Technical / Scripting
- Topic: Dialog Changing Limited to 21 Times
- Replies: 11
- Views: 9318
- Fri Nov 08, 2013 6:57 am
- Forum: Technical / Scripting
- Topic: Dialog Changing Limited to 21 Times
- Replies: 11
- Views: 9318
I'd make a button with the caption of "Close" or "Exit" or something similar, then have an AddDialogHandler> line that calls a "Quit" subroutine when the button is clicked. AddDialogHandler>DialogX,MSButtonX,OnClick,Quit SRT>Quit Exit>0 EMD>Quit I get that you can create a button that specifically ...
- Fri Nov 08, 2013 4:08 am
- Forum: Technical / Scripting
- Topic: Dialog Changing Limited to 21 Times
- Replies: 11
- Views: 9318
The only problem is that closing the program will not end the process entirely, since the loop is always running (which requires manual stop to stop it). As I said: The other needed addition is a button to kill the script. What function or property is required to tell the program that I closed the ...
- Fri Nov 08, 2013 1:56 am
- Forum: Technical / Scripting
- Topic: Dialog Changing Limited to 21 Times
- Replies: 11
- Views: 9318
My explanation would be that you're stacking modal dialogs. I can't explain why there's a limit but there seems to be one. Convert the modal dialogs to non-modal dialogs and the problem goes away. The script below is your script with an added loop so the script will idle also removed the commas fro...
- Thu Nov 07, 2013 9:53 am
- Forum: Technical / Scripting
- Topic: Dialog Changing Limited to 21 Times
- Replies: 11
- Views: 9318
Dialog Changing Limited to 21 Times
I encountered this error when I attempted to shift between dialog windows through closing one and then opening the other (or closing one and then opening the same one). Basically, after changing dialog boxes 21 times, the buttons won't work anymore (even ones that are involved in the same window). I...
- Wed Nov 06, 2013 3:05 am
- Forum: Beginners
- Topic: Adding Data in List Box and Combo Box in Dialog
- Replies: 6
- Views: 11115
@ winstein, Rain has it. Sorry, must have forgotten to write it. If the array contains the data you want to place in the ListBox just specify the array with sdp> SetDialogProperty>Dialog1,MSListBox1,Text,%ArrayName% SetDialogProperty>Dialog1,MSComboBox1,ListText,%ArrayName% When I did what you do, ...
- Wed Nov 06, 2013 1:20 am
- Forum: Beginners
- Topic: Get/Set Properties in Dialog Panels
- Replies: 5
- Views: 7414
@Winstein, Every object in a dialog has a unique name. It doesn't matter whether that object is displayed in the primary client area of the dialog or in a panel or in a tabpage. The name of the object is unique and its properties can be altered using SetDialogProperties>Dialog name,object name,prop...
- Mon Nov 04, 2013 4:01 am
- Forum: Beginners
- Topic: Adding Data in List Box and Combo Box in Dialog
- Replies: 6
- Views: 11115
Thanks for your effort. Perhaps there could be something I could get from it. You likely didn't know this, but I received some help from another person in a private message regarding this problem before you sent this. I didn't ask this, likely because I forgot, but do any of you know how to implemen...
- Mon Nov 04, 2013 3:35 am
- Forum: Beginners
- Topic: Get/Set Properties in Dialog Panels
- Replies: 5
- Views: 7414
Get/Set Properties in Dialog Panels
A quick question, but how do you modify properties that are within a panel? Say, I have a Panel in the Dialog, but I put a Label in the Panel. I want this Label to change to whatever value outside the Dialog settings. The current format for changing dialog properties is as follow: SetDialogProperty>...
- Fri Nov 01, 2013 10:09 am
- Forum: Beginners
- Topic: Adding Data in List Box and Combo Box in Dialog
- Replies: 6
- Views: 11115
Adding Data in List Box and Combo Box in Dialog
Currently, I want to add a list of data in a Dialog Box's List Box and Combo Box, but the thing is, I want to make it interactive. So now I have a couple of things I want to do: 1) Make a list of data in the List Box or Combo Box. It's not just one line of text, but a list of them. 2) Each line of d...
- Thu Oct 03, 2013 1:22 am
- Forum: Beginners
- Topic: Web Macros with other Internet Browsers
- Replies: 3
- Views: 4720