Search found 536 matches

by Rain
Wed Dec 18, 2013 5:01 pm
Forum: Technical / Scripting
Topic: How to put a TAB into the clipboard?
Replies: 5
Views: 7018

Use %TAB%

Code: Select all

PutClipBoard>1%TAB%2
by Rain
Mon Dec 16, 2013 5:19 pm
Forum: Technical / Scripting
Topic: Folder Names into Listbox in alphabet orders
Replies: 3
Views: 5376

Have you tried setting "Sorted" to true under ListBox properties? Here is an example: Dialog>Dialog1 object Dialog1: TForm Left = 358 Top = 74 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 151 ClientWidth = 278 Color = clBtnFace Font.Charset = DEFAULT_CHARSE...
by Rain
Thu Nov 21, 2013 3:32 pm
Forum: Technical / Scripting
Topic: Can I make this trigger somehow?
Replies: 3
Views: 5253

Try this one. Dialog>Dialog1 object Dialog1: TForm Left = 176 Top = 80 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 63 ClientWidth = 184 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif'...
by Rain
Thu Nov 21, 2013 3:18 pm
Forum: Technical / Scripting
Topic: Removing the first character in a very large file
Replies: 5
Views: 7274

Have you tried Windows Powershell? I've tested the script below with 100k and 1 Million lines: 100K lines took roughly 18 seconds. 1 Million lines took roughly 174 seconds. Timer>StartTimer Let>InputFile=%DESKTOP_DIR%\temp.txt Let>OutpuFile=%DESKTOP_DIR%\out.txt Let>RP_WINDOWMODE=0 Let>RP_WAIT=1 Run...
by Rain
Tue Nov 19, 2013 4:29 pm
Forum: Technical / Scripting
Topic: Can I make this trigger somehow?
Replies: 3
Views: 5253

You can. Your mouse has to be stationary for the script to work. 1. Move your mouse to the area you want to click 2. Press your left mouse button 3. Do not move your mouse OnEvent>KEY_DOWN,VK1,0,MButtonPressed //Enter sec to wait Let>SecToWait=2 Let>LeftButtonPressed=False Label>ActionLoop Wait>0.01...
by Rain
Wed Nov 13, 2013 1:07 pm
Forum: Technical / Scripting
Topic: How to convert given text to small letters
Replies: 4
Views: 6006

You can use the lowercase VBScript function.

Code: Select all

VBSTART
VBEND

Let>varText=THIS IS MY STRING
VBEval>LCase("%varText%"),varText
MessageModal>varText
Or uppercase

Code: Select all

VBSTART
VBEND

Let>varText=this is my string
VBEval>UCase("%varText%"),varText
MessageModal>varText
by Rain
Fri Nov 08, 2013 6:19 pm
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 11247

You can also set the dialog properties to invisible instead of moving them off screen...then simply use Show>DialogX to make them visible again.

Code: Select all

SetDialogProperty>Dialog1,,Visible,False

SetDialogProperty>Dialog2,,Visible,False
by Rain
Fri Nov 08, 2013 10:27 am
Forum: Technical / Scripting
Topic: Dialog Changing Limited to 21 Times
Replies: 11
Views: 11247

Code: Select all

AddDialogHandler>DialogX,,OnClose,Quit

SRT>Quit
  Exit>0
EMD>Quit
Will terminate the program.
by Rain
Tue Nov 05, 2013 11:48 pm
Forum: Beginners
Topic: if + Image Recognition
Replies: 2
Views: 5854

Use WaitScreenImage>C:\Users\Desktop\22222222.bmp or pleace FindImagePos> inside a loop.

Code: Select all

Label>Loop
FindImagePos>C:\Users\Desktop\22222222.bmp,SCREEN,0,0,XArr,YArr,imgs


If>imgs>0
  msg>found
Endif

Wait>1
Goto>Loop
by Rain
Tue Nov 05, 2013 11:42 pm
Forum: Enhancement Suggestions
Topic: Object Selection
Replies: 1
Views: 5474

I move objects out of the way if they're hiding other objects or I press the tab key until the correct object is selected in the properties window.
by Rain
Mon Nov 04, 2013 1:42 pm
Forum: General Discussion
Topic: Favorit, most powerful script command?
Replies: 4
Views: 8825

What JRL posted. The dialog function is my favorite function as well.

You can do some cool things with the Dialog designer.

Like this for example:
http://www.mjtnet.com/forum/post35006.html#35006
Image
by Rain
Mon Nov 04, 2013 1:40 pm
Forum: General Discussion
Topic: Full uninstallation instructions.
Replies: 1
Views: 5145

Thanks for this. 6. Import your macros using File/Import (or just drag and drop). Create groups first if necessary. I always backup "groups12.dat", "groups12.ini" and "macros12.dat" and then move them to my scripts folder after installation and before running Macro Scheduler. Keeps me from having to...
by Rain
Mon Nov 04, 2013 1:02 pm
Forum: Beginners
Topic: Making your macros intelligent, with If, Else, and Endif
Replies: 1
Views: 4553

Nice Tut, Parsnip...I'm sue someone will find this useful.

+Rep :D
by Rain
Mon Nov 04, 2013 12:59 pm
Forum: Beginners
Topic: Http request - username and password
Replies: 7
Views: 10855

What about this?
For basic authentication where a username and password is required by the server before the request will complete put the username and password in the URL using the following format:
http://username:[email protected] ... 37&start=0
by Rain
Mon Nov 04, 2013 12:55 pm
Forum: Beginners
Topic: Adding Data in List Box and Combo Box in Dialog
Replies: 6
Views: 12300

winstein wrote: EDIT: By the way, where is the DoExit Subroutine?
Add this to the script:

Code: Select all

SRT>DoExit
  Exit>1
END>DoExit
cron
Sign up to our newsletter for free automation tips, tricks & discounts