Can I split a gravity forms postcode field by the space so just the first half of the postcode is entered automatically into a text field

reaching out on this one. I’m using gravityforms address field and need a simple text field to display just the first half of the postcode.

Example

Postcode Field: E14 4RD Text Field: E14

No idea where to start I’ve Googled and asked on gravityforms forum but no luck.

Any pointers would be great

How do I loop audio playback automatically?

(Many of the Audio* symbols and functionality are still mostly experimental, so I understand that not all the kinks might be worked out yet. Still, I’d like to try to make this work!)

When you create an Audio object as output, you have the option to click to expand the output, then click on the "loop" symbol, and play it back looped. E.g.

AudioGenerator[{"Sin", Quantity[110, "Hz"], 0}] 

the default audio outputthe expanded audio output with an arrow pointing to the looping button

(Apologies for the large images; feel free to shrink them if you know how.)

This loops well. However, the only way I know to get this behavior is by clicking on the output manually.

On the other hand, if you create an AudioStream via e.g. AudioPlay, and set Looping -> True, the audio features an unpleasant skip when it loops back to the beginning.

AudioPlay[AudioGenerator[{"Sin", Quantity[110, "Hz"], 0}], Looping -> True] 

(I still haven’t updated from 12.3.0 to 12.3.1, so if this happens to have been fixed in the 0.0.1 difference, let me know 🙂 )

I’d like a way to loop audio automatically without clicking and free of skipping (in particular, for dynamic purposes). So, I’d like either

  • a way to interface with Audio output objects without mouse inputs that lets me trigger playback and enable looping automatically, preferably while hiding the output form visually as well

  • a way to eliminate the skip heard in looped AudioStreams, so that (when possible) it loops seamlessly

  • a totally separate workaround that lets me play back and loop audio programmatically and seamlessly.

(It would also be great to be able to manipulate the audio as its playing—e.g. to change the frequency—so if pursuing one of these directions over another is more amenable to that end goal, I’d appreciate any insight. But that’s not strictly necessary.)

Thanks!

Automatically Close wordpress media uploader after click on upload image

i am using one function for automatically insert image in post after user upload image in wordpress media uploader but problem is that wordpress media uploader is still open after user upload image. so i am trying to add function that after user click on upload image after that wordpress media uploader should me close automatically.

What I am trying to do is –

  1. User clicks "Add Media"

  2. Select an image

  3. Now wordpress media uploader should be Close automatically.

any Chanches to add this type of function by php or using jquery Any clues ?

Why DataGrip automatically creates Foreign Key relation when ‘table_id’ column is added

Not long ago I started using DataGrip from Jetbrains, I am using postgres

when I add column ‘table_id’ foreign key relation is automaitcally is created between tables, though I didn’t add any FOREIGN KEY statements. Do you know why relation is created automatically, when I just added tablename_id?

enter image description here

enter image description here

6 random character prefix automatically added to entire DB tables, how / why?

I’m working on a site, live on server. I’m using Navicat for working with the DB. I have the WP DB opened and am 100% sure the tables were just standard tables, using standard wp_ prefix.

While I’m working on another screen in admin area, I needed some user-meta info, I refresh the already opened DB.. and suddenly ALL tables have 6 random character prefix automatically added to entire DB tables!

So now instead of having one table.. wp_usermeta
I now have.. aojsfj_wp_usermeta

Now, opening for example aojsfj_wp_usermeta is not a list of users, it’s just ONE user’s meta. So now the DB has created all separate tables per the few (7) test user accounts, prefixing them with 6 random characters.

Can someone enlighten me on why / how this has happened? So far everything still seems to be working, but the DB + all these new tables can’t be good!

How to take backup of a notebook and export it automatically every each 5 minutes?


Question

I want to let Mathematica automatically make a backup of an active notebook and export it to somewhere else (something like Wolfram Cloud or Google Drive) frequently.

"frequently" means whatever it is convenient, like "every 5 minutes", "every time the user manually saves it by Ctrl + S", and so on.

Is there any way to do it? I use Mathematica version 12.0 on Windows 10.

Any information would be appreciated.

Background

I’ve experienced losing the edit on my notebook before by an inevitable accident. I mistakenly evaluated the cell which included infinite loop and I had to force stopping Mathematica from task manager, because it froze. The next time I launched Mathematica and opened the notebook, even my edit I did save by Ctrl + S before the infinite loop started was somehow lost. I want to avoid that by frequent backup and I want to confirm it by automating it.

Automatically export backlinks from template edit with Notepad?

Good morning,

Im building some kind of automation through python and the thing that bugs me is that i have to navigate to Edit > Options > Automatically export… and select a new location where i want to export the verified backlinks.
Is there any way to set the automated export path using Edit with Notepad and some kind of property that handles the path?

EDIT:
More data… i know that i can export the template anytime i want but i really want it to be automatically exported so i can watch a folder looking for the report of backlinks (in case i want to do another tier or whatever)

Thank you so much!

Automatically set x=0, after each input/output ? ($AfterEachInputOutput)

Is it possible to do something that I want, after each input/output automatically and silently?
I am looking for a feature like $ AfterEachInputOutput in the following code :

Example : to set variable x to 0 after each output

In[1] $  AfterEachInputOutput=(x=0;) ---> x=0 automatically and silently (not important because this is a starting step) In[2] x=2;x+2 Out[2] 4 ---> x=0 automatically and silently In[3] If[x=0,100,-100] Out[3] 100 ---> x=0 automatically and silently In[4] x=1;y=1; ---> x=0 automatically and silently In[5] x+10 Out[5] 10 ---> x=0 automatically and silently 

I have tried

$  Post=(x=0;) 

or

$  Preprint=(x=0;) 

But it didn’t work well.