Function inside a super genie(Pop-up)

Hi.

I'm trying to figure out how to re-use the variables inside the PopUpPage.

Here's a link to the function im trying to use inside my popup.

proscada.ru/ctkbase.en/resources/attachments/q4572/exec-guid36c264eab1aa4e048470d7d23cdeb0c2.ci

This simple function works in the genie but not in a super genie.

//MouseButtonDown

ExecEx("%Drawing%")

I've tried replacing the % sign with ? and lots of other ways, with no success. (The function still works if I just type in a "direct" path to open a folder., but I want to use a variable, that I can edit)

FUNCTION

PopUpPage(INT X,INT Y,INT Mode, STRING Drawing)

WinNewAt("!PopUpPage",X,Y,Mode);
SleepMS(25);
WinTitle("TITLE");

Got any ideas?

Thanks in advance.

Robin

Parents
  • Sorry, I forgot the ",0" in the Ass command.

    I'm not completely clear what you're trying to do. I was just guessing in my previous comment. You might want to make and upload a simple project to demonstrate what is failing. Or, make screenshots of the command(s) that associate tags and open the super genie, the command in the super genie that's not working, the genie form(s) where you set substitution values, and any Cicode (other than the Exec() function).
Reply
  • Sorry, I forgot the ",0" in the Ass command.

    I'm not completely clear what you're trying to do. I was just guessing in my previous comment. You might want to make and upload a simple project to demonstrate what is failing. Or, make screenshots of the command(s) that associate tags and open the super genie, the command in the super genie that's not working, the genie form(s) where you set substitution values, and any Cicode (other than the Exec() function).
Children
No Data