Jump to content
Macro Express Forums

Amerifax-Bob

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Amerifax-Bob

  1. I'm not doing to good with the if statement. The following will not create a variable when "If Window Title "UltraEdit" is on top" is true. I have to Esc Esc out and continue after the endif. But when false it needs to run the "else" and continue after the "endif". // T10 County Text Type: <ALT><F3>County:<ENTER> Delay 200 Milliseconds If Window Title "UltraEdit" is on top Text Type: <ESC><ESC> Else Text Type: <ARROW RIGHT><SHIFT><END> Clipboard Copy Variable Set String %T10% from Clipboard End If What is happing is no vaiable. But if I do the following It works: // T10 County Text Type: <ALT><F3>County:<ENTER> Delay 200 Milliseconds If Window Title "UltraEdit" is on top Text Type: <ESC><ESC> endif Text Type: <ARROW RIGHT><SHIFT><END> Clipboard Copy Variable Set String %T10% from Clipboard Problem with this is if "If Window Title "UltraEdit" is on top" is true I get a false value. Bob
  2. Clear Variables It looks to easy. Thanks again Bob
  3. Thanks for every thing. It will all go into my tool box. Or should I say Text Box. Bob
  4. I'm searching for text using any text editor. If text is found it will close search box and highlight the result. Perfect! If not found a box comes up "Not Found". that's the problem. My macro hangs up on the open box, which can be closed with "esc" "esc". When the text is properly high lighted the macro does a: 1. Copy to clipboard 2. creates a variable My problem is how to have the macro deal with the "Not Found" box and continue on. The perfect solution would be a variable with "not Found" or a variable with the searched item. I'm now actually looking for a text editor that can work with my Macro that will not hang up with "Not Found" but instead will go back to the text document inserting the word "Not Found". So I either need a cure for my problem with Macro Express or a miracle Text Editor. Bob
  5. When I create a macro I have a variable that works . When I close the macro and open a ,creat,new macro and try to place it in a doc, the varbiale is not there. Not much of a supprise. But is there a way to make it globe or something? Also is there a way to clear out all the varables, not that I see any reason why I would. Bob
  6. The way I run my macro now is by using ALT+F3 to search for a certain word. If the word does not exist (in this case the word is phone), the system stops or it crashes. It can not continue without interaction. This is what I am trying to do. Look for the word Phone, if it exists, continue on with the macro. If it is not there go further down to the phone logic I'm using. Example: If "Phone" exists, continue with rest of macro after this line. If NOT go down 10-15 lines to where the address starts. Is there a way to search for a name within a document with macro commands rather than using ALT+F3? Can an IF statement go to a particular line of code? Any help you can offer would be appreciated. I have read information on IF statements, I am just not quite understanding. Thanks, Bob Snow
  7. I have posted this message at a bunch of different places and just can't seem to find a response. Thought I would post here and hope for the best... Everybody says Photoshop can DO. I say sure!?!? 1. I want to rotate a cocked page when I do a clip. 2. I never know the exact percentage or degree of rotation, that’s strictly a guess. 3. What I do know is usually some kind of a straight line or edge in picture. a. Good example would be a scan of a book’s front page. It usually has a “title” that is horizontal to the page. This is my starting point. Solution: 1. If I draw a line horizontal to the “title”, and can execute crop I have my solution providing the program knows that that line is the horizontal of my picture. 2. Here’s my way of thinking for this. If I can draw the line as I indicated above and hit enter and it goes horizontal that’s good. But some Photo program is going to take it to the next step. And I hope it’s you. Two buttons that can interact with that horizontal line. a. Horizontal button would rotate the page whereas your line would end up horizontal. b. A vertical button would rotate the page where your line is vertical or perpendicular. Bottom line a photo editing program that has a crop tool that can crop based on a line you draw over your picture that can go vertical or horizontal. It would automatically line the picture up to be perfectly horizontal or vertical. I hope this explains to you what my needs are. Do you have a work around for what I’m trying to do? I do have macro capabilities with Macro Express. Bob Trying to do the rotation by degrees is like trying to spread butter on bread on a baked potato with a hot fork. You know if nobody else has this and it’s something new it would be like a shoe manufacturer making shoes with no way to hold them on and someone coming around and saying hey why don’t we use laces on those. You have a page from a book that you scanned and it is maybe > 10-15 degrees off from being straight. In other words the picture is > cocked. Then on that page you have a title and that title is 'This Is > the Story of Computers.' What you would do is draw a line under 'This > Is the Story of Computers', clicking A (horizontal) would cause that > page to rotate to a perfect picture view. If you click B (vertical) > that page would rotate to a perfect landscape view; in this case that > would be an undesirable choice. But in some cases that would be a > desirable value.
  8. I'm trying to save text from one page that I sent to the buffer using "Control A". I want to place it on a different page using "Control V", paste. Problem is I first have to do a "Control A" to the second page, select text to delete, before I can do my paste. Probably "Control A" would take care of my problem. But I would rather try to do it using variables or possibly work with multiple clipboard items if Macro Express is capable. I have a book called Macro Express Explained which is very helpful but I must be missing the point when I try to use variables for this problem. Any help would be appreciated Bob
  9. >>It will not increase the speed the speed of your macro, but neither should you notice a decrease in speed either. << Good poi nt. Thanks Bob
  10. I have 180 lines of code of which 7 line appear 15 times. In other words I have 7 contiguious lines of code that are in the macro 15 times. Is there a way to make a refference to just the 7 lines with a short one line code. I believe that the Macro Run, page 186, would do it. I just am not sure if a speed increase would happen. Bob
  11. I have a macro that has to switch to a second file. I get my info from the first text file, which is loaded and than put it on the second file, which also is loaded. I go between them by switching (Ctr+Tab) in the macro. I slow the switch down with the followingcode in the macro. This is just the affected part of the macro, it has about 30 lines total: ACTIVATE Window:TextPad - TEXTTYPE:Wait For Window Title: "TextPad - C:\PRG\Office\TextPad\mail_2.txt The above is a loose copy of the actuall code. The following is how the first page ends up looking like. You can see where the type is cominh in before the switch. AMERIFAX DATA CORP N104W15754 COUNCIL BLUFFS DR Wait For Window Title: "TextPad - [C:\PRG\Office\TextPad\mail_2.txt"GERMANTOWN, WI 53022 Phone: 262-250-2500 Bob
  12. Boy this is one of those times I wish I could delete a message. I ran the auto mac and saw how I was misusing the shift key, but thanks anyhow. Bob
  13. I'm trying to do a simple highlight of text that I want to copy any mover. The problem is that the text will not highlight no matter what I try. This is just some of what I have tried. <ACTIVATE2:UltraEdit-32 -><TEXTTYPE:<CONTROL>a<DELETE>><CLIPP><TEXTTYPE:<CONTROL><HOME>><CLIPE><TEXTTYPE:<SHIFT><ARROW RIGHT><ARROW DOWN><ARROW DOWN><END>> Bob
  14. >>Text Type: <ALT><ALT>v<< I do remember seems the double on the Alt key but I never did and don't understand it. But. It did Work. Thanks for the help. Bob
  15. I thought I sholud show what works in WinTask UseWindow("PHONEBKS.EXE|SelectPhone|ProCD PhoneBooks - Great Lakes+North Central",1) ChooseMenu(Normal,"&View|&More Info...") This will Select Alt then the "V" key. I have tried the following plus many more ways to do it. <ACTIVATE2:ProCD PhoneBooks - Great Lakes+North Central><TEXTTYPE:<ALTD>><DIS:<WAITPB><DIS:<MSD:0906><TEXTTYPE:v><TEXTTYPE:<ALTU>><DIS:<WAITPB> I'm thinking Macro Express is choking on this funtion. The program I'm working in is ProCD PhoneBooks Version 2004.4.07.0902 Bob
  16. I'm using a program that should make a selection when you do a Alt+V. But this program is a little different than most. You have to select the Alt key release it and than select the V key in order to make it work. I have tried using macro express and everything from feather to a hammer to get this to work. I finally found a program that would put in a proper delay to make it work. So for the first park of the macro I use WinTask and the second part of the macro I use Maco Express. But I really hate the thought or writing two different programs to get my end result. I have never had much luck when it comes to delays. I ran a Capture Macro in Macro Express with no luck, I also ran a Capture with WinTask and it worked. If I had my way I would do it all with Macro Express.Don't get me wrong I'm not getting down on WinTask. I just like the flow in Macro Express much Better. Bob
  17. jowensii Thanks for the help. I will dig a little deeper. \ Bob
  18. I did give it a try with no luck. It will react properly when not equal to "Screen". But when = it does not do a tab. Text Type:<CONTROL><SHIFT><ALT>b Text Type:<SHIFT><TAB> Wait For Window Title:"Layer Style" Clipboard Copy If Clipboard Text Equals "Screen" Text Type <TAB> Else Text Type:<HOME><ARROW DOWN><ARROW DOWN><ARROW DOWN><ARROW DOWN><ARROW DOWN><ARROW DOWN><ARROW DOWN> End if I'm using the book to the best I can. Bob
  19. I bought a book called Macro Ex Explaned. I was hoping to find an example of how the Clipboard can work with the equal function. It had nothing to offer. Is there another book out there on Macro Express? AS good as Macro Express is you would think there would be more books to give you a good cross section on how it works. I did find something on page 263 that might be some help. Bob
  20. If Clipboard Text Equals This command tests to see if the text contents of the clipboard are equal to a specified value. You may optionally choose to make the comparison case sensitive or not. What does it do when it finds that it is equal? But what if it is not? Bob
  21. Thankls for pointing me in a direction. I get what you mean. Bob
  22. In Photoshop I'm trying to change Blends in a layor. When I go into a pop up window for the first time I use the down arrow seven times to change to the proper word (Screen). The next time in the popup, if the word is now (Screen), I need to use the tab key to go to the next field. I know it would ba a logic, but not sure what to use. It most likly would say: IF current position <> screen than down arrow 7 times. If current position =screen than tab. Thanks for the help Bob
×
×
  • Create New...