Search found 84 matches

by winstein
Mon Jul 21, 2014 10:26 am
Forum: Beginners
Topic: Returning Day of Week based on Date
Replies: 3
Views: 4262

Returning Day of Week based on Date

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.
by winstein
Mon Jul 21, 2014 8:32 am
Forum: Beginners
Topic: Parameters with Macro Application
Replies: 3
Views: 4479

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.
by winstein
Mon Mar 24, 2014 4:36 am
Forum: Beginners
Topic: Trigger and Files
Replies: 1
Views: 2631

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...
by winstein
Mon Mar 24, 2014 3:30 am
Forum: Beginners
Topic: (First Letter) Not Appropriate
Replies: 2
Views: 4218

(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...
by winstein
Mon Nov 11, 2013 3:26 am
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 9183

Took what you suggested and tried them. It seems to be fine with what I wanted to do.

Thank you all for your help!
by winstein
Fri Nov 08, 2013 6:57 am
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 9183

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 ...
by winstein
Fri Nov 08, 2013 4:08 am
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 9183

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 ...
by winstein
Fri Nov 08, 2013 1:56 am
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 9183

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...
by winstein
Thu Nov 07, 2013 9:53 am
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 9183

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...
by winstein
Wed Nov 06, 2013 3:05 am
Forum: Beginners
Topic: Adding Data in List Box and Combo Box in Dialog
Replies: 6
Views: 11044

@ 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, ...
by winstein
Wed Nov 06, 2013 1:20 am
Forum: Beginners
Topic: Get/Set Properties in Dialog Panels
Replies: 5
Views: 7331

@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...
by winstein
Mon Nov 04, 2013 4:01 am
Forum: Beginners
Topic: Adding Data in List Box and Combo Box in Dialog
Replies: 6
Views: 11044

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...
by winstein
Mon Nov 04, 2013 3:35 am
Forum: Beginners
Topic: Get/Set Properties in Dialog Panels
Replies: 5
Views: 7331

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>...
by winstein
Fri Nov 01, 2013 10:09 am
Forum: Beginners
Topic: Adding Data in List Box and Combo Box in Dialog
Replies: 6
Views: 11044

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...
by winstein
Thu Oct 03, 2013 1:22 am
Forum: Beginners
Topic: Web Macros with other Internet Browsers
Replies: 3
Views: 4688

Are there any alternative ways to do web-based macros on Firefox or Chrome with the same type of commands as the IE-based ones?

Thanks for reading.
cron
Sign up to our newsletter for free automation tips, tricks & discounts