Search found 914 matches

by Peter Stotz
04 Nov 20, 10:32
Forum: Macro Programming
Topic: Run Macro upon specific text within Chrome popup
Replies: 1
Views: 303

Re: Run Macro upon specific text within Chrome popup

Hi, wschloss, in your code are syntax errors - marked red: {#run -file "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -params "https://www.stamfordadvocate.com/"}{#sleep 400}{#focus New*}{#sleep 400} }}█ {#CTRL -chars f}Continue without unblocking{#ENTER}{#ESC}{#ENTER} As an alternati...
by Peter Stotz
19 Oct 20, 11:20
Forum: Macro Programming
Topic: Copy to phraseexpress clipboard cache SOLVED
Replies: 5
Views: 753

Re: Copy to phraseexpress clipboard cache SOLVED

@Tobias The clipboard autotext ( ##clpbrd or so) is used to display (and select) the contents of the clipboard or if the #SETPHRASE macro is used. A workflow example: Step 1 Text A, Text A, Text A, Text A, Text A Mark and copy this with CTRL+C Alternatively: A variable content can be written to the ...
by Peter Stotz
12 Oct 20, 22:03
Forum: Macro Programming
Topic: Copy to phraseexpress clipboard cache SOLVED
Replies: 5
Views: 753

Re: Copy to phraseexpress clipboard cache SOLVED

@Tobias Is there a way to copy to and paste from the phrase express clipboard cache? Maybe these are possible solutions for your application: 1. use the PhraseExpress clipboard as desktop menu and/or 2. assign an Autotext to the PhraseExpress clipboard, e.g. ##clpbrd and use it... Peter Stotz Window...
by Peter Stotz
25 Sep 20, 16:55
Forum: Macro Programming
Topic: contractions
Replies: 5
Views: 575

Re: contractions

@dmkkg
What is the target application?
Word?
This could be due to the active autocomplete of the target application - deactivate it if necessary...

Peter
Windows 10 - PhraseExpress v15.0.66RC
by Peter Stotz
21 Sep 20, 14:57
Forum: Makroprogrammierung
Topic: Tageszeit in der Anrede berücksichtigen GELÖST
Replies: 5
Views: 1581

Re: Tageszeit in der Anrede berücksichtigen GELÖST

Hey, Sabine, der Code einen wunderschönen guten {#check -text {#datetime -f hh} -case <= 12 -output Morgen|<= 18 -output Tag|<= 23 -output Abend} ist in Ordnung und der Textbaustein wünscht mir soeben - Systemzeit ist 15:50:34 Uhr - einen wunderschönen guten Tag . Vielleicht sind auch nur fehlerhaft...
by Peter Stotz
16 Sep 20, 20:21
Forum: Macro Programming
Topic: Clipboard Code Issue / Help SOLVED
Replies: 3
Views: 859

Re: Clipboard Code Issue / Help SOLVED

Hi Yam, for your information: 1. some very useful applications for PhraseExpress are available as „free add ons“ https://www.phraseexpress.com/download/free-add-ons/ 2. the attached file „Direktwahltasten CTRL+0 bis CTRL+9.pxp“ is an example of a direct key application The macro program set works wi...
by Peter Stotz
14 Sep 20, 19:09
Forum: Macro Programming
Topic: form with output to a new phrase in a designated folder
Replies: 1
Views: 366

Re: form with output to a new phrase in a designated folder

@cpew So you can pass data <data> to a new phrase in a specific folder: 1. The designated folder needs an autotext e.g. <autotext_designated_folder> 2. Syntax for data transfer to the designated folder (with: 'programming' → 'Set phrase content') {#setphrase -autotext <last_name> -description last n...
by Peter Stotz
01 Sep 20, 17:09
Forum: Macro Programming
Topic: Calculate a score based on multiple variables SOLVED
Replies: 6
Views: 964

Re: Calculate a score based on multiple variables SOLVED

@maallard - your posting from Di 1. Sep 2020, 16:28 Yes, you can choose between this code - uses two additional temporary variables ##pointsmale + ##pointsfemale and three #check-makros – ... (* *){#settemp -name ##pointsmale -content {#check -text {#gettemp ##age} -case <= 34 -output 0|<= 38 -outpu...
by Peter Stotz
01 Sep 20, 17:04
Forum: Macro Programming
Topic: Calculate a score based on multiple variables SOLVED
Replies: 6
Views: 964

Re: Calculate a score based on multiple variables SOLVED

@maallard - your posting from Di 1. Sep 2020, 05:47 If I use the same example you gave, I can not get a result (output = 0) hmm - please renew the copy - my sample output (sorted): female 31 –> 0 points female 35 –> 1 points female 38 –> 1 points female 35 –> 1 points female 40 –> 3 points female 41...
by Peter Stotz
31 Aug 20, 18:48
Forum: Macro Programming
Topic: PE asks to choose/fill out the same variable over and over again in the same text SOLVED
Replies: 2
Views: 608

Re: PE asks to choose/fill out the same variable over and over again in the same text SOLVED

@ron capriles Which PhraseExpress version do you use? Which query macro do you use (Dropdown, Radio Button Group, Checkbox Grop, etc.) ? The query macro must be identical for multiple use so that the initial specification is inserted into the text. Please show us a sample phrase! Peter Windows 10 - ...
by Peter Stotz
30 Aug 20, 23:41
Forum: Makroprogrammierung
Topic: Kann Phrases Arrays?
Replies: 3
Views: 570

Re: Kann Phrases Arrays?

@Praia Da kann man im Prinzip mit Separierung der Zeilen und innerhalb der Zeilen dann mit der Selektion der einzelnen Zeilenelemente = Spalten ganz ähnlich vorgehen, wie bei dem Beispiel, das wir kürzlich diskutiert haben (http://www.bartelsmedia.com/forum/viewtopic.php?f=147&t=18194&sid=f3b6e56e41...
by Peter Stotz
30 Aug 20, 19:26
Forum: Macro Programming
Topic: Calculate a score based on multiple variables SOLVED
Replies: 6
Views: 964

Re: Calculate a score based on multiple variables SOLVED

@maallard My recommendation: Use nested #CHECK macros, they are relatively easy to maintain... Here an extensible example for checking 2 conditions: (* Check 2 conditions: sex AND age ##age (random: 30 ÷ 50) *){#settemp -name ##age -content {#calc 30+{#rnd 21} -round 0}}(* ##sex (random: male |femal...
by Peter Stotz
28 Aug 20, 17:02
Forum: Makroprogrammierung
Topic: Kann Phrases Arrays?
Replies: 3
Views: 570

Re: Kann Phrases Arrays?

@Praia Kann Phrases Arrays? Nicht originär - aber man könnte die Listenposition eines Listeninhalts als "Array-Variablenname" wie z.B. 1;3 für den Inhalt von Zeile 1 Spalte 3 der Liste interpretieren. Ist es irgendwie Möglich jeden anderen Wert in eine eigene Variable zu bekommen? Ich denke schon, a...
by Peter Stotz
27 Aug 20, 13:45
Forum: Makroprogrammierung
Topic: Eine Datumseingabe unterschiedlich ausgeben
Replies: 5
Views: 1009

Re: Eine Datumseingabe unterschiedlich ausgeben

@Steffen ich habe 2 Fehler in deinem Code entdeckt: 1. Einen Tippfehler bei {#settemp -name _ CST_ARSDatALT ... __ - nach -name ist ein Leerzeichen zuviel ... 2. Das Datum im Standard-Format des Systems zur Verwendung mit -value wird mit der Formatvorgabe ddddd erzeugt, z.B. als: 27.08.2020 Die von ...
by Peter Stotz
17 Aug 20, 19:34
Forum: Macro Programming
Topic: Date manipulation in macro? SOLVED
Replies: 2
Views: 884

Re: Date manipulation in macro? SOLVED

@richardm
use the #datetime macro for this, e.g.
{#datetime -f mmmm, dd yyyyy -s 1M -locale en-US -variablename Date/Time}
{#datetime -f mmmm, dd yyyyy -s 2M -locale en-US -variablename Date/Time}

Peter Stotz
Windows 10 Home - PhraseExpress v15.0.62
by Peter Stotz
17 Aug 20, 17:37
Forum: Makroprogrammierung
Topic: Output aus Form in variablen speichern GELÖST
Replies: 2
Views: 694

Re: Output aus Form in variablen speichern GELÖST

Hi, Praia, wenn mehrere Lieferadressen, Telefonnummern, Ansprechpartner usw. vom Anwender angegeben werden sollen, kann man das Eingabeformular in der vorgeschlagen Form schon nutzen, muss dann aber die Datenzeilen 'vereinzeln' z.B. so: (* 20200817 • Beispiel: Mehrere Lieferadressen mit Straße und N...
by Peter Stotz
09 Aug 20, 17:54
Forum: Macro Programming
Topic: Wrapping text with square brackets SOLVED
Replies: 5
Views: 1241

Re: Wrapping text with square brackets SOLVED

@Savoir you could use something like this: Autotext e.g.: [[ Phrase content: [[{#trim {#input -head Input text or take it from clipboard: -def some text -single -required}}]] Workflow: 1. Optional: Mark and copy one or more text snippets with CTRL+C to the clipboard 2. Execute the macro program with...
by Peter Stotz
15 Jul 20, 21:14
Forum: Macro Programming
Topic: How to replace iframe in clipboard with just the src attribute contents?
Replies: 2
Views: 902

Re: How to replace iframe in clipboard with just the src attribute contents?

@Ivon Michal
How to Load HTML, CSS, and JS Code into an iFrame
Please give us a concrete example for your desired application...

Peter
Windows 10 - PhraseExpress v15.0.58-Beta
by Peter Stotz
10 Jul 20, 10:25
Forum: Macro Programming
Topic: display popup up menu by selecting a text
Replies: 6
Views: 1299

Re: display popup up menu by selecting a text

@rkychu hmm - this is tricky... I think, there is no direct access to the description of a phrase... But there is a - rather unknown - macro command {#contents} If {#contents} is inserted as phrase description , the phrase contents are displayed in selection menus ! What application idea is behind y...
by Peter Stotz
28 Jun 20, 22:23
Forum: Macro Programming
Topic: Video Tutorial or Help with If-Then-Else?
Replies: 5
Views: 1228

Re: Video Tutorial or Help with If-Then-Else?

@ Hitch
Thanks for your feedback.
We can meet again in this forum with pleasure.
Bye so long!
Peter
Windows 10 - PhraseExpress v15.0.52-Beta