Jump to content
Macro Express Forums

patgenn123

Members
  • Posts

    371
  • Joined

  • Last visited

Everything posted by patgenn123

  1. Thanks Kevin and Jason! Shucks! I appreciate the explanation, but wish there was a simpler way than using logic "if..then.." statements. It'll take forever to do it with 50 folders. I know I could use prompt also. Just wanted to avoid all that. Thanks! Pat
  2. Is there any way to have a shortkey place the shortkey itself into a variable? For example, if the shortkey is "abc", I'd like the first command in the macro to assign what was imputed into %T1%. Is this the same as assigning it to the clipboard as you mentioned? How could something be assigned to a clipboard as text if it cannot be assigned to a variable? Shortkeys confuse me. What if I put %T1% in the shortkey property field. What next? What limits would there be to the variable and how could I bring variable values back into %T1%? Kind of perplexed... Pat
  3. I know I could type a word anywhere on the screen and a macro could be triggered from a shortkey, but what if I want to trigger a macro base on a %T1% variable? Could this work? What I am trying to do it have a folder pop up based on the folder name, but it's completely random. What would be the best way to do this with a shortkey? Thanks for the help! Pat
  4. Your shortkeys are limited to 10 characters. You also have shortkeys lite that can use more characters. Can these two work together for more characters? Why is Macro Express only limited 10 10 characters? You mean the free version of shortkeys can use more characters than the paid version of Macro Express? Pat
  5. I am interested to find out how to use a macro to save a file and assign a shortkey to that file without having to go into Macro Express to do it. Here's my idea: 1) I am using a window title to trigger a macro to a) save the file to text I would save the name of the text file with a unique name that would cause macro express to know that it needs to be assigned a shortkey from THAT file name. Real life idea: Window title comes up. Save the text file using the person's name that I type in, but I put the word "processing in the saved file name to trigger macro to assign it the save file name(person's name) as a way of performing some other macro operation. If I am not clear, please ask... I am still a newbee at this!
  6. Cory, I sure have a question. I have a database called ACT!. It is a popular contact management database. I have tried and tried to see how controls work with fields in which data is imputed, but I have had no success at it. I have used "get Control" with the bullseye and it captured the text in the field, but gosh darnit, I have no idea what to do next. I want it to do something depending on what is put into the text. I could even limit it to dropdown lists only if it makes it simpler. By the way, each field had within itself has "field triggers" in which a playable macro can be placed to trigger the control to go into action when the field is changed, but I am having one heck of a time knowing what to do next. Here's an example of what I want to do. If a specific value in the field is chosen, run a text file with other information and when the text file matches, collect the data on that text line and paste the info into other cells. It's very similar to automatic data entry in which oncwe a drop down list value is chosen then fill in some other fields with the dependent values. Could you point me in the right direction too? ALL i need to know is how to collect the data from that field(when it changes)and get the rest of the macro to get going. I want the control to capture the text value in the field is what it boils down to.[color="#FF0000"][/color]
  7. OK. This is a good start, but how can the internal VBA macro grab the info from the clipboard to automatically rename the file? I need a start in the right direction.. Maybe more, but who knows... Thanks! Pat
  8. I don't get this program sometimes. It's so annoying I could throw something against the wall. When I open "Program Launch" and click the (...) button to open a file path, it doesn't open. This is on a macro I already created. Is anyone else having this problem? Sometimes I could throw this program into the sea and wish it's death. I just cannot believe it. It's done this type of freezing before and I have Windows XP Professional. Pat
  9. Does anyone know how to save a Word or Excel document without using the dialogue box? I want to name a Word or Excel file from information in a clipboard without having to go to "File", "Save As" and then putting the file in a certain location. The location of the file(after it is saved)will be based on parameters loaded in from the clipboard. Any ideas? Pat
  10. Hello everyone! I am curious how to parse a directory location such as: C:\Documents and Settings\Owner\Desktop\abcd.pdf where I only want to target focusing on C:\Documents and Settings\Owner\Desktop and deleting abcd.pdf. How do I do that? Pat
  11. I have a question. I tried to capture a button using the "Get Control" command. However the control command does not zoom in on the button itself rather it captures the whole toolbar instead. I tried my hand at "Get Pixel Color" and obviously tried to capture the pixel color using specific coordinates relative to screen and get the mouse to move there. The mouse went into a completely different direction than what I had as to the coordinates in "X,Y". I tried to read the old forum info on this but it only got me more confused. This should be real easy, but I think I am missing something. All I want to do is have the mouse button get me to a database button on a toolbar on top of the screen underneath the Window Title Bar. It's a little piece of real estate on the screen I need to capture the pixel color and get the mouse to move to. I want it to go there only if a certain program is running(which is the easy part). Any help would be greatly appreciated. Thanks! Pat
  12. I have a plugin from Sperry Software that pulls attachments away from the e-mail received and puts them in a folder. I would like to have a Macro alert me that I have a new attachment and also let me know what it's attachment name is in the alert. Is there also a way to click and get to that folder without mulitple clicking? Pat
  13. Cory, I see what you mean, however, I don't see, even with the Macro you suggest, how this is not going to require 2 right clicks to get it to work. One is going to click the program "Ninotech" to paste to clipboard and then the other will be needed to run ContextMacro. Setting the macro with the hotkey will still require two mouse right clicks to open the right click menu twice. How can it be any other way? I would like to be proven wrong. I am certain I am wrong, but in my small mind, it's not fitting in..... Pat
  14. Cory, OK. Let's start. I am not even going to get into the parsing stuff after it is pasted into the clipboard because I am not quite there yet. I almost have it, but let me start. OK. Here is my intent: 1)Right click file or files 2)Click the program that allows the file(s) to paste to clipboard. 2a)Click on the right click menu again? to run the macro 3)Have the Macro parse the file name(s) based on the first word of the file name after it is pasted onto the clipboard. For example, I have file names called "Smith appraisal" , "Smith paystub", "Smith worksheet". I would like to have the Macro search the entire database to find the folder named "Smith" and move all the file there automatically. Simple. Idea #2 Everything the same as above, but right click on a folder(rather than a file(or files) and have the macro search the entire computer to "pull" all file names and bring them to the folder instantly. This would also be based on the same concept. If the folder has the name "Adams", then have the macro search the computer to pull all files with the first name "adams" only if it's the first word in the file name. Idea #3 How about using your e-mail macro that you just explained and posted in recent days to run a macro from the right click menu to send e-mails based on multiselecting files and sending them fast! Idea #4. How about that same e-mail macro from a folder "pulling the file names from that folder, putting them on a multiple choice list, multiselecting them and then putting them into an e-mail. There are so many things I could do with this. However what really stinks is I don't want to have to have a macro ask me to highlight anything. I want to do it as natural as possible. Why do it any other way? Highlight the file or files, do the macro and that's it. It appears that it won't work with just one click though. First you need another program to paste the muliple files into the clipboard. Once you click that program, the right click menu instantly disapears. and there is no way that "freeware" will allow a macro to "piggyback" it within its own program. That means that you have to click the files, copy them and then right click again to get the macro to parse it. I don't have an idea about how to get these two prgrams to work with each other to make this work in one step based on one click. Try it. The problem is: ME needs to rely on another program, after selecting the NinoTech program(to paste to clipbaord) you need to highlight/select those files again in order to run the ME Macro "ContextMacro". It's just not possible even in your suggestion without highlighting the files twice and clicking the right click menu twice to use two different commands. AM I wrong??????? Summary: Highlight/multiselect right click click on the desired macro from right click menu and do whatever needs to be done That's really it in a nutshell. Three simple steps. Pat
  15. It looks like the only way this can be done is to right click on the file(or multiple files),highlight, and then use http://home.worldonline.dk/ninotech/freeutil.htm to paste it to the clipboard, then use the (right click on file post) to start processing the contents into the clipboard. This might be the last gasp at this, but is the right click menu a control or is it a hidden program that can be found anywhere in the system that can be called up with a macro? If so, what is it and where is it? Thanks! Pat
  16. Cory, That is what I am basing all of this off of. However, there is no way I could figure out how to connect http://home.worldonline.dk/ninotech/freeutil.htm with the right click menu macro we have discussed in the forum recently. Ninotech looks like it won't be executable from a macro program launch line? Where would the .exe be at for this program or have it run from the "run" line. It doesn't look like it can be run unless you go to right click it in the right-click menu. I guess I am going to have to e-mail the maker of the program.. Pat
  17. Is there something that could trigger the initiation of the macro if the right click menu is opened up and maybe followed by keystrokes using ampersand keystrokes? Pat
  18. Ok, After I get that figured out, I was curious as to how you would "chew" through the file paths in the clipboard. They obviously would go line by line underneath each other, but when I put them all into a variable, they are crunched into one line. Do I have to do a text process or ASCII process for each line and if that's the case, I would think i would have to save everything to a text file first from the Clipboard right? The only reason I am not doing this right now to check to see if I am right is because I like to get other input into this and I learn much better this way.
  19. Gentlemen, Actually, it does multi-select files and creates the full paths in the clipboard. Thanks Jowensii!!!! The only problem is that the free-ware does not give me the ability to continue on with a macro without having to make additional steps/shortkey etc. in other words, even though you can right-click and click "copy path", what's next without having to do another step(i.e. shortcut key, whatever)? I want to make it seemeless without any extra steps or clicks or shortcut keys. That program is great, free and very useful, but I thought maybe it would have allowed a command line of some kind(to run a macro), but it doesn't. Pat
  20. Cory, You are a wonderworker. What planet did you come from? Pat
  21. Cory, I followed your instructions to the letter, and I wanted to let you know that when sending out the attachments(to myself as a test), sometimes the attachments are there and sometimes they don't accompany the e-mail sent. Here is what I have: <VARSR:01><CLEARVAR1:A:ALL><TBOX4:T:3:00LeftCenter000278000200:000:InstructionsBrowse to and select your files one at a time. When you are finished click on Cancel.><TVAR2:01:09:File to attach><REP3:08:000002:000001:0001:1:01:T1><TVAR2:02:09:File to attach><IFVAR2:1:02:1:><BREAK><ENDIF><TMVAR2:07:01:00:000:000:;%T2%><CLEARVAR1:T:2:2><ENDREP><EMAIL2:Center:Center:Center:Center:Center:Center:RNR2S3A2%T1%;%T1%;T> Can you tell why it is hit or miss with this? Pat
  22. Kevin, Thanks for the response! However, it has everything to do with the Windows Clipboard that will not paste the full file paths into the clipboard if they are multi-selected and copied. Regarding your recommendation with Repeat/Multiple Choice, what if I were to select 50 files? I just thought of something.... If I had 5 files all by the name of "Adams" and use this macro to move at least 1 file, is there a way of holding that part of the filename(Adams) to loop through to find all other names of "Adams"? and then move them "One at a time?" Pat
  23. OK, Thank you Kevin! I appreciate it. However, here is what I am trying to do. This would make my life so much easier and maybe other's also. I am basing my work on this forum topic: http://pgmacros.com/community/index.php?showtopic=1787 It's called right click on file. Cory started the thread and I was thinking of a great way to use it. Here is my idea: Using the ideas built upon the thread above, I want to highlight a file(OR FILES) and right click on a Macro command from the right click menu to grab the filepath(or filepaths) and have the file INSTANTLY move itself to it's respective folder. Here is an example: I have 4 files on my desktop with the person's last name "Adams". For example, Adams appraisal, Adams paystub, Adams insurance etc. I want to move the files to the "Adams" folder located in another location. I already have the macro on how to move this file(s) to the folder BASED ON THE 1ST WORD of the file matching the first word of the folder. I don't want this Macro to run unless I highlight the file(OR FILES) and run the Macro from the command in the registry based on the forum topic already discussed. I know how to do this with 1 file and I have it figured out. However, to highlight multiple files and get their filepaths I think the only way to do this is to grab the file paths from the clipboard. I tried ClipMate and you have to click the actual line in ClipMate itself to actually get it to paste it back onto the clipboard. I don't know if ClipMate can autopaste it back onto the clipboard. In fact, I am still monkeying with it and have tried to find out, but haven't had it long enough to see. The macro needs to grab it from the clipboard and it can't. that's why I am looking for a way to grab multiple filepaths, but only if I choose these myself based on highlighting it myself. The point is that I don't want all desktop files moved and i don't want it to be based on a prompt! Any ideas would help. Pat
  24. Kevin, Then how do you get the addresses of the filenames if you multi-select? Pat
×
×
  • Create New...