Jump to content
Macro Express Forums

garlicnonions

Members
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    1

garlicnonions last won the day on April 30 2018

garlicnonions had the most liked content!

Recent Profile Visitors

329 profile views

garlicnonions's Achievements

Rookie

Rookie (2/14)

  • Reacting Well Rare
  • Collaborator Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done Rare

Recent Badges

1

Reputation

  1. Perfect, thank you ! Sorry for late response , I must not have turned on the subscribe to thread.
  2. Is there a way to find the mex file I am running off(mex currently running in the editor)? Like, other than searching my pc for .mex files. Thank you! John
  3. Good day! I reinstalled Macroexpress yesterday and noticed my shortkeys arent working. Turns out I can get a shortkey to fire if I assign a single shortkey as the trigger. It will also work if the shortkey is a repeat of the first key but will fire immediately after typing the first key. What might be the issue here?
  4. I went back to some code and tried to modify the macro run command in script window but nothing happened..no dialog ...just hangs. pressing escape allowed me to interact with ME3 again but even trying to insert macro run command into a new macro does nothing. The other macro controls all seem to do as expected. I wonder if this is something to do with windows 10?
  5. Just turned this on by accident and now I am trying to figure out what it does...other than popup an empty window? Thanks, John
  6. Thank you both for all the help! I am now able to locate the CRLF but decided to go with finding "" rows in text processing function. Have a great day!
  7. Hmmm, so if I am following you correctly, I cant use the "text file process" function to loop through the text on line at a time. I will need to create my own loop using the "Variable Set String" command? The text editor I used to view ANSI file type is Notepad++.
  8. "In your example the first time through the Text File Begin Process loop %T1% will contain "My Requisition Statuses" (no CRLF)." ...I would have thought the CRLF would be included at the end of the line of text saved to %T1%, just as it shows in the screenshot...why is it not? I tried to do as you suggested, but no success. I am not sure i did it correctly though. What i tried was this: where the contents of the "variable set integer" command are : .... As for what Im trying to do: I am copying a webpage, locating the section containing a list of items, then generating a csv file from that list. The text copied from the webpage looks as follows, with the three repeating sections representing 3 separate items, each has 8 lines of text. Each item will be one row in a csv file. The reason I am trying to locate the CRLF is to find the blank section below the 3rd item which identifies the end of my area of interest. So I was thinking if i could locate repeating CRLF characters that followed the last item consecutively repeating ...as in the blank area I would define the end of my area of interest. I have a work around of counting blank lines , as in "" assigned to a text variable. I would still like to be able to locate CRLF as I think it would simplify my code and would be useful in future projects.
  9. So tried a real simple test to see if "get position of text" would find CR. I specifically saved a notepad file as ANSI and verified it was ansi with notepad ++. Still unable to find CR. The variable assigned the position returns 0 for all CR characters in the text. Just to be sure I tried 113 instead of 13 to see if this would locate the letter q in my text and it did.
  10. Thank you for your reply. I think the problem might be that this wont work with control characters in ascii such as CR and LF? I tried using just the ASCII 13 character and it doesn't find a single instance of it in a text file full of them. Also I am working in ME3, don't know if that could also be the issue. Thank you. John
  11. I am trying to locate the cr and lf (carriage return and line feed) characters using "get position of text" option in set integer variables. The only way I can think of doing it is to assign the ascii character 10 and 13 to a text variable and then entering that into the function above as the text to search for. I only get 0 as the position which I believe means its not found. Is there a way to do this? Thanks, John
×
×
  • Create New...