Search found 6 matches

by jfusco
Mon Jul 02, 2018 1:20 pm
Forum: Suggestions & Bugs
Topic: PK 8.6.0 extcmd broken?
Replies: 0
Views: 1568

PK 8.6.0 extcmd broken?

I have a macro that collects data from an information screen then launches a VB script that builds an email from that data. I upgraded from 8.5.0 to 8.6.0 this morning and it suddenly wouldn't run my VB script. I set up a msg command to tell me what the path was and the %_vFolder_MyDocuments% was po...
by jfusco
Tue Mar 20, 2018 2:27 pm
Forum: Macros & Solutions
Topic: Representing an empty string variable
Replies: 1
Views: 2478

Representing an empty string variable

Hello, I'm trying to parse some information from text captured into the clipboard. They recently changed the layout of the window I'm copying from and, depending on what information is listed above my target data, the information I want is on line 108, 109, or 110. Here is what I currently have. It ...
by jfusco
Thu Dec 07, 2017 3:12 pm
Forum: Macros & Solutions
Topic: Need little help in macro
Replies: 1
Views: 3626

Re: Need little help in macro

Try it this way instead

Code: Select all

<if_dir>("%_vQuoteChar%C:\%Directory%\Base%_vQuoteChar%","EXIST","")
Or just this,

Code: Select all

<if_dir>("C:\%Directory%\Base","EXIST","")
Remember, you have to put your variable name between the % symbols.
by jfusco
Wed Dec 06, 2017 5:57 pm
Forum: Macros & Solutions
Topic: Building a string
Replies: 0
Views: 2175

Building a string

I recently upgraded from PK 7.x to PK 8.4.0. I have a macro that calls a vbs script that opens a new email using a template which is determined at the start of the run. I grab a screen of text to the clipboard. Line 33 is the case title but it contains a | character which I was unable to get my macr...
by jfusco
Fri Apr 14, 2017 6:58 pm
Forum: Macros & Solutions
Topic: Ignoring the | character?
Replies: 0
Views: 5562

Ignoring the | character?

I tried to post this several days ago but it never appeared. I am copying a text string that includes the pipe | character. I want to use the portion before the | as part of an email subject. For instance, if the string is "Mary had a little | lamb." I want my email subject to be "Regarding: Mary ha...
by jfusco
Tue Apr 11, 2017 4:06 pm
Forum: Macros & Solutions
Topic: Collect string up to pipe |
Replies: 0
Views: 4542

Collect string up to pipe |

Using PK 7.6.7 because that's what the company had a license for. I have a macro that captures a line of text to grab a case title for an email subject. Our title format is currently "Warranty/System/Issue" and it comes through just fine. Starting soon, our title format will switch to "Issue and Sys...