Search found 327 matches

by hagchr
Thu Jun 13, 2013 3:04 pm
Forum: Beginners
Topic: Print web page to PDF
Replies: 9
Views: 13378

Sometimes I have had problem with hidden windows that could confuse what is in focus. Both SetFocus and WaitWindowOpen have the choice to look for visible windows. Not sure if that is an issue here. I have updated my previous code (below) and it works on my machine without any problem. Day>dd Month>...
by hagchr
Wed Jun 05, 2013 9:39 pm
Forum: Beginners
Topic: Print web page to PDF
Replies: 9
Views: 13378

Hi, I also print to pdf regularly and then to simplify and make my macros more robust I usually set "Adobe PDF" as the default printer. Then it is automatically pre-selected and there is no need for the image recognition. Then for your case it would just be a simple macro like below. (alternatively ...
by hagchr
Sun Jul 17, 2011 7:40 pm
Forum: Beginners
Topic: How to select and "SORT" Excel column with keystro
Replies: 16
Views: 20516

Hi bstafford,

What you can do is:

PRESS F5 (goto/select range in Excel)
Wait>0.2
SendText>A:A (eg to select A column)
Wait>0.2
PRESS ENTER
by hagchr
Sun Jul 17, 2011 3:40 pm
Forum: Beginners
Topic: How to select and "SORT" Excel column with keystro
Replies: 16
Views: 20516

Hi, I am not sure which version of Excel you are using but eg in Excel 2010 you could select a cell in the column you want to sort and then access SORT through the key combinations ALT+A+SA (ascending) ALT+A+SD (descending) (ie you press ALT then can access the menus and submenues through letter com...
by hagchr
Wed Jan 26, 2011 9:02 am
Forum: Technical / Scripting
Topic: MouseMoveRel x,y as variable?
Replies: 5
Views: 5702

Hi! One way would be to split the text in two parts and feed them to the mousemove function. Let>blahblahXY="123, 321" Let>delim1=, Let>delim2=" Separate>blahblahXY,delim1,arrItems StringReplace>arrItems_1,delim2,,arrItems_1 StringReplace>arrItems_2,delim2,,arrItems_2 Trim>arrItems_1,arrItems_1 Trim...
by hagchr
Wed Oct 27, 2010 7:47 pm
Forum: Technical / Scripting
Topic: Issue with Command Locator in v12.1.0
Replies: 0
Views: 3104

Issue with Command Locator in v12.1.0

There seems to be an issue with the help text when you move over commands using the Command Locator. (I see no help text and the old text box still hangs for some time even when I change and move over a different topic, resulting in a "snake" of text boxes).
by hagchr
Tue Oct 19, 2010 3:13 pm
Forum: Technical / Scripting
Topic: Problems with Excel
Replies: 8
Views: 7794

It may also help if you concatenate a " in the beginning and end of your path/file name on each row. (""""" & cellRC & """"") plus the trim mentioned above. (ie just create a second column and have MS run on that one).
by hagchr
Tue Oct 19, 2010 9:25 am
Forum: Technical / Scripting
Topic: Problems with Excel
Replies: 8
Views: 7794

Not sure of your code, I tried a simple example where I have the file name (with path and proper extension) in one cell in excel and then copy it to the clipboard, then GetClipBoard>test wait>.2 RTrim>test,test wait>.2 ExecuteFile>test And it works fine on my machine (also tried different file types).
by hagchr
Thu Oct 07, 2010 10:03 am
Forum: Technical / Scripting
Topic: open csv file in Excel and AutoFit via MS & VBScript
Replies: 3
Views: 12768

Hi jpuziano, For me it works if I add the following to your code: Set xlBook = xlBook.sheets("Exceltest") (ie to add a reference to the sheet in addition to the workbook. Sheet name seems to be the same as the CSV name file). Sub OpenExcelFile(filename) Set xlApp = CreateObject("Excel.Application") ...
by hagchr
Sun Jul 25, 2010 9:04 pm
Forum: Beginners
Topic: MS and iMacros
Replies: 1
Views: 4100

MS and iMacros

After changing the path it all works fine.

VBEval>RuniMacros("mjtnet.iim"),res
by hagchr
Sun Jul 25, 2010 3:37 pm
Forum: Beginners
Topic: MS and iMacros
Replies: 1
Views: 4100

MS and iMacros

Hi, I have a question but not sure if the problem relates to MS or iMacros (I am using MS Pro 12.0.5 and iMacros 7) I am trying the simple MS example they show on their web page (http://wiki.imacros.net/Macro_Scheduler) (see below). When I run the iMacros script (in iMacros) it returns: "Windows Aut...
by hagchr
Mon Jul 05, 2010 8:06 am
Forum: Technical / Scripting
Topic: Capture adress in bar of Win Internet Explorer
Replies: 5
Views: 5556

Capture adress in bar of Win Internet Explorer

Maybe you can use the shortcut ALT+D to select the address bar, ie.

Press ALT
SendText>D
Release ALT

Then copy to clipboard etc.
Sign up to our newsletter for free automation tips, tricks & discounts