Jump to content
Macro Express Forums

Indrid

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Indrid

  1. My god that worked! You sir, are a gentleman and a scholar.
  2. Good Afternoon Macro Gods, I appeal to you for help in resolving an issue I've been having for quite some time. In my macros I often have to scrape data from a webpage that isn't formatted for easy macro searching, as such I usually have a macro search through the source code for the webpage I'm trying to scrape data from for what I need. The webpage is written with tags that always surround the data I need, the tags are specific to each value that needs to be parsed. Currently I use notepad and the find function to select the text I need, then set it to variables for later use from there. Is there a better way to do this that can scrape this data out in the background without using Notepad? I'd imagine there is, however I can't find any macro commands that let me set text between two expected text strings. Here's a sample of the source code I'm trying to scrape data from so you can get an idea: InitData("MV_MOVEMODEM", "False", "L"); dataarrayOld["MV_MOVEMODEM"]=dataarray["MV_MOVEMODEM"]["val"]; InitData("MV_EMAIL", "", "C"); dataarrayOld["MV_EMAIL"]=dataarray["MV_EMAIL"]["val"]; InitData("MV_MOVEFAX", "False", "L"); dataarrayOld["MV_MOVEFAX"]=dataarray["MV_MOVEFAX"]["val"]; InitData("MV_MOVEREASON", "NH", "C"); dataarrayOld["MV_MOVEREASON"]=dataarray["MV_MOVEREASON"]["val"]; I need to capture the data between InitData("MV_MOVEREASON", " and ", "C"); for example.
  3. The only way I've found to get around this is to have the macro save the variable to a text file for later retrieval using the "Variable Modify String" command and under the "Option 2" tab select the "Save to Text File" radial button and define a location then have the paste macros refer to those text files using the "Variable Set String" command. Macro Express will only keep a variable in active memory while that macro is currently running and since your CTRL+1 or 2 or 3 and your ALT+1 or 2 or 3 are separate macros, they would lose all variable information after the macro completes.
  4. Is this the only running instance of Internet Explorer running and is this the only program you have this issue with or is it universal? My quick suggestion would be to use only the "Activate..." option rather than the "Activate or Launch".
  5. Hello fellow automatons, quick simple question. I'm the main writer of a Macro Library to support a team of around 20-30 users that all use my published macro library to automate a lot of our tasks. A lot of the time I end up improving upon or creating new macros for this library and I would like for all the users using my macros to be able to automatically update to the currently pushed version when they start up Macro Express. I'd prefer it to import a selection of macros, however it would be fine if it completely loaded a full macro library on start up. I know I'd have to place the macro library somewhere on our network that's visible to everyone, although a lot of people have their own custom macros that they've made on their own and I'm pretty sure having macro express load in a macro library at start up would overwrite all their custom macros. Is there a way to say, make the macro library read only so users can open, but not edit this file? And can Macro Express keep a users custom made macros when loading in a macro library at launch?
×
×
  • Create New...