Questions tagged [code]

A tag that includes questions about programming in general.

Filter by
Sorted by
Tagged with
-3
votes
0answers
17 views

Batch code randomly closes [closed]

So I just started coding yesterday. There are probably lots of problems but there is one that causes my code to randomly close when I complete a certain action. Please help, here is the section of the ...
1
vote
1answer
44 views

remove local hosts from terminal on mac

I'm trying to instal adobe cloud, but it doesn't work because I believe some of it's servers are blocked in my terminal. How do I remove them? I know how to open terminal, but that's it. I'm not the ...
0
votes
2answers
19 views

Excel If Function with too many arguments

IT tells me that there are too many arguments, but I don't know how to make it less arguments for it to work cant seem to make this one work, =IF(ToFind<MyNumber,"Too low", IF(ToFind>MyNumber,...
0
votes
0answers
20 views

Excel VBA problems with split view

Here is my code: Private Sub Worksheet_selectionchange(ByVal Target As Excel.Range) 'When you select a cell on the worksheet it will move CommandButton1 and CommandButton3 to a 'specific spot so ...
1
vote
0answers
16 views

How to find the Position of Objects detected in a video on YOLO? [closed]

Hi First of all I'm a real noob to coding and all. I found this YOLO and wanted to do something with it. After downloading YOLO and running it by typing ./darknet detector demo cfg/coco.data cfg/...
0
votes
0answers
16 views

Generate Oauth2 code examples for multiple languages

I'm making an API and want to show users how to use my API in different languages (Oauth2). I don't have that much knowledge for some of the languages and I want to show some examples for an Oauth2 ...
0
votes
1answer
31 views

MatLab showing different plots on different zoom level

I ran this code on MatLab: function main fimplicit (@(x,y)f(x,y),[2 5]) end function fun = f(x,y) nc=1.45; %cladding nf=1.5; ns=1.4; %substrate h=5; %width of waveguide kappa=sqrt(x^2*nf^2-y.^...
0
votes
0answers
35 views

VBA code to make a cell mandatory on save if previous cell says Fail

I'm currently creating a document that would allow supervisors to audit their people. I'm looking for a way to prevent saving if cells I and J are not completed if the person failed the previous ...
1
vote
2answers
149 views

Move Files Into Correct Folder Batch File

I have a file directory called "Parts". Within that folder I have files that I need to run a batch file on to move to their correct folders. Example 12345 test.pdf 12345 test.jpg 12346 test.pdf ...
0
votes
0answers
198 views

AHK script that loops until RMB is released

I'm looking to create a script that when the right mouse button is pressed and held it: Also presses and holds the right mouse button (aiming) Cycles between pressing "q" for .5 seconds(lean left), ...
1
vote
0answers
23 views

Is there a VSCode extension for auto-validating brackets?

I'm looking for an extension for VScode that can auto-validate brackets in code or highlight mismatched or invalid bracket arrangements. I've seen extensions that colorize brackets, which is helpful, ...
0
votes
0answers
12 views

reference between 2 word documents

hello can anyone help me with creating a cross reference between 2 word documents. all my documents are located in a microsoft sharepoint site. i think this is working but im using sharepoint { ...
0
votes
0answers
24 views

Visual Studio Code - navigation bar path

enter image description hereHow to set up this kind of navigation bar - where u can click on catalogs like in windows systems. Tis video and "GPS" icon on the top left: https://www.youtube.com/watch?...
0
votes
1answer
26 views

code in VBA excel

I need help with macro. The goal is to find specific text inside each sheet. If this text is found, macro continues with next codes. If the text is not found, macro skips to the next sheet and do the ...
0
votes
0answers
215 views

‘node\r’: No such file or directory

Source address: https://github.com/code-dot-org/code-dot-org When I set up the website of code.org, I encountered this problem: edu@ubuntu:~/code-dot-org/apps$ npm run build > blockly-mooc@0.0....
0
votes
0answers
22 views

Is there any open technology for encryption all the code like an encrypt container?

Is there any open technology for encryption all the code ? You see the black frame, I want there is a technology like it to avoid source code come to light.
0
votes
0answers
42 views

Randomly selecting data from different columns into one column without duplicates

I have four columns of students. There is 1000 students in each column. The same students are in each of the four columns. I need to randomly select one student from each column to make groups of four....
0
votes
0answers
15 views

Visual Studio Code Live Server Extension

Every time I start live server extension the font is super small. Reinstalling does not work.
0
votes
0answers
116 views

How to add timestamp to Azure Devops

We use Azure Devops to collaborate on projects. I also use it personally with my studies etc. Unfortunately, it doesn't have the capability to add timestamps to discussion/descriptions etc.. ...
0
votes
0answers
13 views

How to control Sonar Indexing for language specific?

Is there a way to control Sonar Indexing to Index only specified language or extension. I have used sonar.language=cs, but while performing analysis sonar index identifies files with unspecified ...
0
votes
1answer
64 views

AutoHotKey: How do I set the starting value of the current loop iteration?

I've made a basic AHK script that adds unique metadata to each file on a system I use every day. The idea is to add _01 to the first file followed by _02 to the second file and going up forever until ...
1
vote
1answer
29 views

Problems using USB-ASP

I am trying to upload some code to my MCU ATMega 32a using an USB-ASP programmer and extreme burner software. I am just using some dummy code, but everytime I try to burn it, the extreme burner shows ...
0
votes
1answer
58 views

Create a batch project with game

I have a batch file for installing a game and changing the language. ISO file ISO [virtual drive mounted] (can be any letter D:\ E:\ F:\ etc...) AutoRun.inf (this run the .bat and .ico) Run.bat (...
0
votes
1answer
53 views

how to Achive this in visual studio (from visual vode extension)

so i want this feature(code) to get to here(visual studio) so i was wondering you can see in the first picture the first char of for if while(etc) has slight caligraphy in it? do anyone know how to ...
0
votes
2answers
395 views

How to stop a service without the full name in a batch file?

I am trying to stop multiple services remotely without using the full name using a wild card in a batch file. Something like this service* Here are a couple example commands I'm using for my need ...
2
votes
1answer
1k views

doxygen - what is working directory?

I've been working on doxygen these days, and I still have no idea about what is 'working directory.' Until now, I just made an empty folder at my D drive, and set it as my working directory. ...
0
votes
2answers
47 views

custom code in wordpress widget

I am editing a WordPress site that contains custom HTML in a widget. However, I am unfamiliar with this code as it appears to be code within code and I cannot locate where it originates. The widget "...
2
votes
0answers
244 views

How to pause system time on Windows? [closed]

I am intereseted in any method of making sure that functions such as the C++ now() return the same thing when called multiple times in a row. The ideal solution is reversible and works on a Windows ...
0
votes
1answer
401 views

Visual Studio Code - working with two sub-windows but making them not affect one another?

Visual Studio Code (VSCODE to all you coming here from search engines) allows splitting the current working window into two windows: When I type text in one, it appears in the other. I desire that ...
1
vote
1answer
49 views

How do I associate a filetype to open with a self developed application?

In .NET/WinForms/C# I wrote a small program for "viewing" PDF files. It just opens a real PDF viewer and does some more things (not important for the following problem). However, under Windows 10 I ...
1
vote
1answer
709 views

How do I get this simple ffmpeg command to work in Automator?

I'm having trouble getting a simple Automator shell script to work. I'm trying to get an ffmpeg command line to run a task on a file that is dropped onto the appliaction icon. This is what i've done: ...
0
votes
2answers
4k views

How to move partial text from one cell to another

I have a dilemma I am hoping someone might be able to help me with! I have exported a PDF file into excel that has a lot of information that populates into one cell. I need to split this information ...
0
votes
1answer
196 views

AutoHotKey: How do i get the 'Date Modified' of my current working directory into the clipboard?

I have a script that logs basic folder name and file count from media directories on our server into a spreadsheet. However, I also need to add a line of code that retrieves the 'Date Modified' of the ...
0
votes
1answer
369 views

Track changes in MS Word through PowerShell script

Could someone please help me modify the script below, so that it can also track changes in MS Word? I need to be able to see where a change was made in order to ensure the sentence that resulted will ...
1
vote
1answer
3k views

AutoHotKey: How to make my script run only within a specific program?

I have made an AHK script that adds metadata to video clips within Avid Media Composer (video editing software). It does this by entering all the necessary sub-menu's and sends mouse clicks to ...
0
votes
1answer
90 views

Determine current status of Unikey: Vietnamese/English typing mode

I am using Unikey from this website to type Vietnamese in TELEX mode in my laptop. I would like to know whether it is in Vietnamese typing mode or English typing mode so I can use that info to write ...
2
votes
1answer
386 views

Makes an blank 3s image section in ffmpeg

I have a video. And I want to make the image blank (black screen) 3s every 1 minute, sounds like the original video as I described in the following image. So please help me code ffmpeg. I use Google ...
0
votes
1answer
210 views

Deleting multiple image files with specific criteria [closed]

I'm looking for an easy way to delete images in my Wallpapers folder with dimensions less than 1080x1920. I thought there might be some kind of script/command that could do this. I once ran into a ...
9
votes
1answer
3k views

Why did this WhatsApp message freeze my phone? [closed]

Warning🚧☠🚧 If you touch this box, [ ‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎‏‎...
1
vote
1answer
550 views

VBScript Windows MediaPlayer

I'm trying to learn VBScript and I can't understand what is wrong with this code. It's supposed to play a midi file and set volume to 100 on the computer. This is in Windows 7 VBScript on Notepad. The ...
0
votes
2answers
14k views

Having 2 formulas in one cell in excel

I am trying to add a calculation formula into a cell (which I am able to get it to work great), but I want the cell to email blank if the result of that calculation is zero. Here is my formula that ...
2
votes
1answer
3k views

How can I format selected java code in sublime text .txt file?

Is there any extension or technique for formatting java code in sublime text? For example, I have this code: static void test() { Pair<Integer, Integer>[] intPairArr = new Pair&...
1
vote
1answer
3k views

What does error code mean "ioerror; Offending Command:image mask ]%% [closed]

meaning of printer error code:"ioerror; Offending Command:image mask ]%%
1
vote
2answers
4k views

Visual Basic - VBA code to skip or ignore rule if cell contains certain value

I have written the following VBA code to automatically populate column "P" with "pending", "Not due","-" based on the value of column "O". The user will manually have to enter "complete" into column "...
0
votes
0answers
61 views

Error Object Type Conversion

I want to launch the program Wondershare Dr.Fone but it automatically shuts down with the following error message: "Object Type System.Configuration.Internal.ConfigurationManagerInternal cannot be ...
0
votes
2answers
39 views

Start 2 files at once and closes one of them when one closes

I need code to make a batch file start 2 programs at once and when one program closes the other one closes as well. For example: start program 1 start program 2 When I exit program 1, program 2 ...
-1
votes
1answer
54 views

Where should I insert this code?

I can't understand where to insert this code (from this answer) to run it and find the ten largest files on the D drive: Get-ChildItem -Recurse D:\ -ErrorAction SilentlyContinue | Sort -...
0
votes
2answers
1k views

How to make All 3 conditions in Autohotkey (how to code “AND”)

I have a simple autohotkey code, but I cannot figure out how to make all 3 conditions met before doing the rules in the first bracket. My code functions like, if any one condition is met, it will ...
18
votes
5answers
5k views

Reasons not to assume device MAC address is unique

In a scenario where you control the provisioning of the hardware and can determine that all devices with the same hardware model do indeed have unique MAC addresses for their networking interfaces, ...
0
votes
0answers
1k views

Converting UNIX time to human time in MATLAB?

I've a sequence of UNIX timestamps in milliseconds (e.g. 1491009470000). I want to convert them to human time in the format year-month-date-hour-minute-second (or in an array of these components). ...