Jump to content
Macro Express Forums

zoobiewa

Members
  • Posts

    8
  • Joined

  • Last visited

zoobiewa's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I guess my question is simple but I can't figure out how. Is there a way to set up a macro that does one thing when a button is pressed and then another when button is depressed? And that would do it. Thanks for any help! PS: I did find this thread but can't figure out how to delete this post: http://pgmacros.invisionzone.com/index.php...ress+activation
  2. I actually do something like that in a macro to post the same information to many different forums, blogs, etc. Each system has different ways, and sometimes the information changes around or I can't get an exact url and must automate some web-navigation. Because the text I am looking for is also an "a href", I can search for the text, escape out of the "find" field, and then automate an [enter] to emulate a click.
  3. Portable applications seem to be a recently popular trend. I've been following the hype a little, and can see how useful it would be to be able to carry around your internet browser, ftp client, graphics editor, etc., on a usb drive, for use on any computer. If anyone is fuzzy on this concept, here's a little snippet from portableapps.com. I've been interested in trying to create a system, but a major appeal for me would be to be able to carry my macro express macros around with me as well. If any macro express developers have thought about this implementation, I'd love to hear any news on the subject. I've tried to figure out how to do it with the existing setup, but even exporting macros as .mxe require an installation of the macro express player. Thoughts? Solutions?
  4. I've rewritten this to be a little more powerful and easy to edit. Now you simply make the screen grab that you want and enter in an image name. What it will do is check the directory that you have set up to receive the grabs and look for duplicate files. If there is one, it will sequentially add a number, so you could make a bunch of similar screen grabs and they will be named screen-1, screen-2, screen-3, etc. Also, it dates each image, so the names would be more along the lines of '06.06.25-screen-1.jpg, '06.06.25-screen-2.jpg, '06.06.25-screen-3.jpg. This is my basic organization (I have to manage huge numbers of image files for my photography). You can always change the date settings, or remove them completely. Anyway, here's the code if anyone finds it useful. <TVAR2:90:01:-=full file path to local directory=-> <TVAR2:91:01:=-full file path to online directory=-> <TVAR2:92:01:-=ftpserver.ftp=-> <TVAR2:93:01:-=ftp login=-> <TVAR2:94:01:-=ftp password=-> <TVAR2:95:01:-=online/ftp/path/=-> <YY.MM.DD{YP000}{P000}03> <TMVAR2:10:04:03:001:002:> <TMVAR2:21:03:00:000:000:%T4%'%T4%> <TVAR2:01:02:FPlease name the image:FFCenter:Center> <DVAR2:01:01:1><DVAR2:02:01:1> <REP3:08:000001:000003:0005:0:01:0> <IFOTH:01:2:%T90%%T3%-%T1%-%D1%.jpg> <DVAR2:05:01:1><ELSE><DVAR2:05:01:0><ENDIF> <IFOTH:01:2:%T90%%T3%-%T1%-%D1%.jpg> <DMVAR:01:01:1:000000000000001.0000:2:1><ENDIF><ENDREP> <CLIPSG2:0:%T90%%T3%-%T1%-%D1%.jpg> <TVAR2:02:01:%T91%%T3%-%T1%-%D1%.jpg> <TMVAR2:16:02:00:000:000:> <FTPCONNECT:97:FF:%T92%:00021:%T93%:;RM> <TBOX4:T:3:CenterCenter000278000160:000:Status.%T97% Changing Directory...><TBCLOSE:Status> <FTPCHDIR:98:%T95%><TBOX4:T:3:CenterCenter000278000160:000:Status..%T97% %T98% Uploading image...> <TBCLOSE:Status.><FTPSEND:99:B:%T90%%T3%-%T1%-%D1%.jpg><TBOX4:T:3:CenterCenter000278000160:000:Status...%T97% %T98% Success! %T3%-%T1%-%D1%.jpg uploaded.> <TBCLOSE:Status..> <FTPDISCONNECT> <TBOX4:T:3:CenterCenter000278000160:001:Status....%T97% %T98% Success! %T3%-%T1%-%D1%.jpg uploaded. Clipboard set to: %T2% Paste away!> <TBCLOSE:Status...>
  5. Oh, one other thing. I do not use windows explorer.exe. I use powerdesk. So I was wondering if there was something more like a system command that could pull up the file address.
  6. I want to try and make a macro that can make a file browser essentially an ftp program as well. To do this, I need to be able to get the address location of a file as it exists on the hard drive. I want to be able to click on a file and get something like c:/website/images/image-001.jpg copied to the clipboard. I can't seem to find any way to do this. Any ideas?
  7. Overview I've often thought that chat programs need a simply way to send images of the screen to one another. There may be something that I don't know about, but I found my solution in macro express. One of the most frustrating things is trying to get someone else able to see EXACTLY what you are looking at. Say you want to show someone an article, but they needed to register and go through steps to see it. Or what if what you wanted to show required them to download software, install plugins, etc. I find this problem annoying when trying to communicate to less computer savvy people. But the thing most everyone CAN do is click on links. What my simple script does is save a screen grab to a file, upload the file to an ftp server, and copy the url of the image to the clipboard. Then you can simply paste away, and the person on the other end of the communication line will be able to see exactly what it is you are talking about. The script may be extremely simple, mundane, and obvious for many of you, but I think it's a good example of how macro-express can be used fill software gaps. What you need: Screen-grabbing software - Everyone knows about print screen, but it seems overkill if you only want to show something specific. I use the built in screen grabber in Microsoft onenote, which allows me to grab a crop of whatever size and dimensions I wish. An ftp server - Hopefully self-explanatory. Macro Express - Self-exp as well. Now, create a new macro, and paste the following into editor (doesn't matter which, scripting or direct): <TVAR2:01:02:FPlease name the image:FFCenter:Center> <TBOX4:T:3:CenterCenter000278000160:000:StatusConnecting...> <CLIPSG2:0:!!Location on your hard drive!!\%T1%.jpg> <TVAR2:02:01:!!full path of online directory!!/%T1%.jpg> <TMVAR2:16:02:00:000:000:> <FTPCONNECT:97:FF:yourftp.ftp:00021:username:‰HŒŒˆ‹K> <TBCLOSE:Status> <TBOX4:T:3:CenterCenter000278000160:000:Status%T97% Changing Directory...> <FTPCHDIR:98:/online/directory/here/> <TBCLOSE:Status> <TBOX4:T:3:CenterCenter000278000160:000:Status%T97% %T98% Uploading image...> <FTPSEND:99:B:!!full online path again!!\%T1%.jpg><TBCLOSE:Status> <TBOX4:T:3:CenterCenter000278000160:000:Status%T97% %T98% Success! %T1%.jpg uploaded.> <FTPDISCONNECT> <TBCLOSE:Status> <TBOX4:T:2:CenterCenter000278000160:001:Status%T97% %T98% Success! %T1%.jpg uploaded. Clipboard set to: %T2% Paste away!> You'll see a bunch of annoying boxes that say, [text type]. I added them just so the code could be viewed in the box, so just delete those. Once you do that, it should look like below. The highlighted boxes are what you'll need to put your own information into (local folder, ftp server, username, password). Quirks. The status box thing flickers because there doesn't seem to be a way to have it remain constant in macro express. If there's any way to make this look nicer, please let me know. And of course, if there are ways to make this script more streamlined or clean, I'd appreciate feedback.
×
×
  • Create New...