Jump to content
Macro Express Forums

Scotsman

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by Scotsman

  1. Thanks for the helpful tips. It seems to be working consistently now with a simple delay, so all is good for now. If it stops working, I give these a try. cheers
  2. Just added the 3 second delay and it's worked 3 times in a row, which seems better - but then failed again. I added another second, and still hit or miss. How do I make sure the web browser is focused? thx
  3. The normal behavior for the page is the user name field is highlighted. But with the script it's hit or miss. I looked around for focus function and saw this: Not sure if this is what you mean Cory? I don't see anything for the web browser specifically..
  4. So I realized I can just go straight to the log in page: "https://todoist.com/users/showlogin" Then the user name field is sometimes highlighted and the script enters the user name/pass no problem. But sometimes the field is not highlighted and the script fails. Any ideas?
  5. I have a simple script for logging into a site so I don't have to type every time. It opens the site and detects the mouse move just fine, but It doesn't detect the mouse clicks. So the email and password can't be entered. My screen cap doesn't show it but the cursor ends up sitting on the log in button as intended. But that's where it stops. It seems simple but stuck here. I have a laptop with a wireless Logitech mouse, and I've also tried the touch pad with not luck. Thx!
  6. I have a simple script for logging into a site so I don't have to type every time. It opens the site and detects the mouse move just fine, but It doesn't detect the mouse clicks. So the email and password can't be entered. My screen cap doesn't show it but the cursor ends up sitting on the log in button as intended. But that's where it stops. It seems simple but stuck here. I have a laptop with a wireless Logitech mouse, and I've also tried the touch pad with not luck. Thx!
  7. Solved - it took me a while to get the command syntax right, plus I realized the spreadsheet has to be closed for the macro to work lol. Thanks Cory and all for the help!
  8. Working through this as time allows. I have the script format pretty much down, now need to create the macro part. thanks
  9. Oops - that was the second last post you made - not the last.
  10. The last post idea you made seemed to work. I won't have time to experiment til I finish work but this looks promising.. thanks
  11. Maybe by inserting "macro control / macro run" at the btm line of MEP?
  12. understood - I will type the values explicitly. One question: is it possible to run the resulting script immediately after it's created - from within MEP? thanks
  13. Here it is - just a little block with 3 parameters. I had to turn the file dialog off, but this should give a rough idea. I use Bricscad not Autocad so the syntax may be slightly different but all the commands are the same. thanks SampleBlockScript.scr
  14. Wow!- thanks so much, I'll go over this tonight and report back. cheers
  15. this is the part I was speaking of: "using ASCII File Process and have MEP create output the command sequence to a text file. Then have MEP run the file as a script, then delete the file for you." thanks
  16. Interesting - Acad does seem to be unpredictable when/if it will finish each operation, so I've had things fail when running a script for a single block. I can do the file process copy but the rest is a bit fuzzy - I don't suppose you know of an example floating around? I can definitely see the advantage in this approach. thanks
  17. I've been thinking about your and others comments about lisp and would like to learn more. Maybe it could be combined with MEP to make use of the fast activations. Re the scripts, I have used them in Acad but only for small things. I need a way of drawing from the excel sheet and repeating the same commands for multiple blocks, which led me to MEP. I should know pretty soon if it will pan out. thanks again...
  18. Thanks, I have Autocad experience but not with writing Lisp so I lean towards MEP as well. I also would prefer not to use Excel to write the script for a few reasons: - I really like the MEP activation - shortkey especially for ease of use. - spreadsheets sometimes get lost over here, but with MEP the script stays safe in the program. - I don't have to go digging for the spreadsheet to run the script since I have MEP on most of the time. - The spreadsheet I put together for the parameter list is easily reproducible. So I'm leaning towards Excel as the list only, with the whole script in MEP. Will keep working in this direction and hopefully have some success soon. I've been trying rbergs suggestion with the array variables with some success but need to learn more. cheers
  19. Thanks for the replies! - it will take me some time to try a few ideas on my end with these suggestions. cheers
  20. Hmm.. I'm not familiar with Lisp - I heard others mention how great ME is with Autocad but maybe this idea is a bit of a stretch? Or is it possible, but more work then most macros? Was hoping to use ME as it seems quite powerful and intuitive Plus I'd like to keep all my ACAD macros together (in ME) but maybe I'm barking up the wrong tree?
  21. Hi, I want to use a list of parameters in Excel to create multiple parametric blocks in a single Autocad drawing (actually it's Bricscad but all the commands/scripts work the same) Here is my code so far in ME which works fine for a single block: And here is my spreadsheet showing the parameters I want to use to create the various blocks: I tried using ASCII file Begin Process but that only grabs the parameters, while I need to have the ACAD commands as well. Any suggestions on how to go about this? thanks
×
×
  • Create New...