Excel To Shift Chat
SET પરીક્ષાની એન્ટ્રી સ્વિફ્ટ ચેટમાં... હવે 1 વિદ્યાર્થીની એન્ટ્રી 1 સેકન્ડમાં
ત્રિમાસિક, SET હોય કે પત્રક C સોફ્ટવેર ફાઈલ બધા ધોરણમાં એક જ વાપરવાની છે.
EXCEL To Swift chat Auto Bulk Entry(SAT/PatrakC, any entry)
Excel To Shift Chat
SET પરીક્ષાની એન્ટ્રી સ્વિફ્ટ ચેટમાં... હવે 1 વિદ્યાર્થીની એન્ટ્રી 1 સેકન્ડમાં
ત્રિમાસિક, SET હોય કે પત્રક C સોફ્ટવેર ફાઈલ બધા ધોરણમાં એક જ વાપરવાની છે.
EXCEL To Swift chat Auto Bulk Entry(SAT/PatrakC, any entry)
Most IMP પોઇન્ટસ :
વિદ્યાર્થીના નામ સ્વીફ્ટ ચેટ માંથી જ લઇ Excel માં લેવા નીચે વિડીયો છે. (હાથથી લખેલા કે અન્ય 100% મેચ થતા નથી.)
લેટેસ્ટ ફાઈલ ઉપયોગ કરવો. Swift chat auto ENTRY patrak C(11.04.26) વિડિયોમાં નીચે લીંક મળી જશે.
1. pc માં Google chorme માં જ swift chat સાઇટ ખોલવી.( સ્વીફ્ટ ચેટ એપ નહિ)
2. Swift chat માં Name list વાળા box માં કર્સર ક્લિક રાખવું. કર્સર જબકશે.
3. Chorme બ્રાઉઝર મીનીમાઇઝ ન રાખવું. તે Excel પાછળ હોવું જોઈ.
4. EXCEL માં નામ સ્વિફ્ટ ચેટ માંથી લીધેલા હોવા જોઈ. (નામ લેવાનો વિડિયો https://youtu.be/CFSvYKNpPn8 )
5. Excel માં જેટલી કોલમમાં ડેટા નાખો તે ઉપર એક ખાનામાં સંખ્યા નાખો.(Ex.ધો.678 પત્રક C માં 29 એમ, જરૂર મુજબ)
આ વિડિયો જોયા વગર કામ કરવું નહિ.
https://youtu.be/V4s178kGm74?si=eIaNchosISEf1Hcd
Update Excel ફાઇલ લિંક video ડિસ્કિપ્શનમાં મળી જહે.
કોડ 1 એકસલમાં બને તે console માં પેસ્ટ કરી એન્ટર આપી રન કરી દો.
પછી નીચે કોડ 2 console માં પેસ્ટ કરી એન્ટર આપતા એન્ટ્રી શરૂ થઈ જશે. એન્ટ્રી સ્ટોપ કરવા ક્રોમ બંધ કરી દેવું.
==============================
async function startSwiftChatAutoEntry() {
const actualStudents = studentData.filter(s => s.name && s.name !== '0' && !s.name.includes('swift chat') && !s.name.includes('ગુણ'));
for (let student of actualStudents) {
console.log("Processing: " + student.name);
// દરેક નવા વિદ્યાર્થી વખતે એકવાર પેજ પર ક્લિક કરો જેથી જૂનું ફોકસ નીકળી જાય
document.body.click();
await new Promise(r => setTimeout(r, 500));
let allDropdowns = document.querySelectorAll('ng-select');
let nameDropdown = allDropdowns[0];
if (nameDropdown) {
let nameInput = nameDropdown.querySelector('.ng-input input');
if (nameInput) {
nameInput.focus();
nameInput.dispatchEvent(new MouseEvent('mousedown', { bubbles: true }));
}
await new Promise(r => setTimeout(r, 1000));
let studentOptions = document.querySelectorAll('.ng-option-label');
let target = Array.from(studentOptions).find(el => el.innerText.trim().includes(student.name));
if (target) {
target.click();
await new Promise(r => setTimeout(r, 1500));
let presentRadio = document.querySelector('input[value="Present"]');
if (presentRadio) {
presentRadio.click();
presentRadio.dispatchEvent(new Event('change', { bubbles: true }));
await new Promise(r => setTimeout(r, 1500));
}
let currentDropdowns = document.querySelectorAll('ng-select');
for (let i = 0; i < student.marks.length; i++) {
let markBox = currentDropdowns[i + 1];
if (markBox) {
markBox.click();
let markInput = markBox.querySelector('input[type="text"]');
if (markInput) {
markInput.focus(); // પરાણે ફોકસ કરો
markInput.value = student.marks[i].toString().trim();
markInput.dispatchEvent(new Event('input', { bubbles: true }));
markInput.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', keyCode: 13, bubbles: true }));
}
await new Promise(r => setTimeout(r, 250)); // થોડો વધુ સમય આપો
}
}
await new Promise(r => setTimeout(r, 1000));
let saveBtn = document.querySelector('button.btn-primary.rounded-pill');
if (saveBtn) {
saveBtn.click();
console.log("Saving data...");
// Save પછી પોપઅપ આવવા માટે અને જવા માટે વધુ સમય આપો
await new Promise(r => setTimeout(r, 3000));
let okBtn = Array.from(document.querySelectorAll('button')).find(b =>
b.innerText.trim() === 'OK' || b.innerText.includes('OK') || b.innerText.includes('સફળ')
);
if (okBtn) {
okBtn.click();
console.log("Popup cleared.");
} else {
// જો OK બટન ન મળે તો Enter કી દબાવો
window.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', keyCode: 13, bubbles: true }));
}
// પેજને રિસેટ થવા માટે છેલ્લો વેઇટ
await new Promise(r => setTimeout(r, 2000));
}
} else {
console.warn("Not Found: " + student.name);
document.body.click();
await new Promise(r => setTimeout(r, 1000));
}
}
}
alert("બધા વિદ્યાર્થીઓનો ડેટા ભરાઈ ગયો છે!");
}
startSwiftChatAutoEntry();
સ્વીફ્ટ ચેટ માંથી વિદ્યાર્થી નામ Excel માં લેવા અને ગુણ સ્લીપ બનાવવા માટે..
Step 1 Video (પહેલી વાર વિડિઓ જરૂરી)
Step 2 Free Code Use : Copy Paste
let names = [];
document.querySelectorAll('.ng-option-label').forEach(el => {
let fullText = el.innerText.trim();
let nameOnly = fullText.split("Saved")[0].trim();
names.push(nameOnly); });
console.log(names.join("\n"));