SimplyCoded
SimplyCoded
  • Видео 223
  • Просмотров 3 126 403
FormatString Class | VBScript Tutorials
Strings in VBScript can be annoying. Here's a little class I made to make things easier.
| Language
VBScript (.vbs)
| Code Example
gist.github.com/codeartery/8bed157ff8ede837ee423c9ab3ce9562
Просмотров: 6 803

Видео

Run as Admin ( without constant UAC prompt ) | VBScript Tutorials
Просмотров 20 тыс.6 лет назад
A script that uses Task Scheduler to run itself as an administrator without having to go through User Account Control (UAC) every time you run it. | Language VBScript (.vbs) | RunAsAdmin gist.github.com/simply-coded/cf08a34ad3d9f5fd04e57683cf76aafc | RunAsAdminNoUAC gist.github.com/simply-coded/a89cc21b69bba3666e260292b7522071 | Schtasks.exe msdn.microsoft.com/en-us/library/windows/desktop/bb73...
39 - Classes ( intro; self; __init__ ) | Python Tutorials
Просмотров 18 тыс.7 лет назад
Let's create some objects; to do so we need a blueprint for our objects called a class. This video goes over classes, instances and instance variables, methods, and the constructor called init_(). | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
38 - @Decorators ( name binding ) | Python Tutorials
Просмотров 1,5 тыс.7 лет назад
Learn how function decorators work; these are useful when you have a factory function that wraps another function with more code. This video also recaps inner functions and showcases how multiple names can be bounded to the same object and how that affects our program. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
37 - Inner / Nested Functions ( challenge answer ) | Python Tutorials
Просмотров 4,7 тыс.7 лет назад
Tells what and why you would want to use an inner or nested function. This video goes over: some encapsulation, factory functions, and wrapper functions. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
36 - Scope ( access; nonlocal; global ) | Python Tutorials
Просмотров 8137 лет назад
Learn what scope is. How it affects access to methods and variables, and how you can change this access with the global, and nonlocal keywords. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
35 - Random Module & Challenge ( randint; randrange; choice; sample ) | Python Tutorials
Просмотров 2,2 тыс.7 лет назад
Learn how to generate pseudo-random numbers with the random module in a cool little restaurant example. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials | More Info (random module docs) docs.python.org/3/library/random.html
33 - Generator Functions ( yield; next ) | Python Tutorials
Просмотров 7 тыс.7 лет назад
Learn how to use generators. Generators are iterators that calculate and return a value and then wait for you to call them again with the next() function. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
34 - Lambda ( pass to func; no params; calling ) | Python Tutorials
Просмотров 1,4 тыс.7 лет назад
Learn how to use lambdas, with varying amounts of parameters including no parameters, and how to pass them into another function, and call them with or without assigning them to a name. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
32 - Functions ( arg types; positional; keyword; optional; arbitrary ) | Python Tutorials
Просмотров 1,2 тыс.7 лет назад
Learn about the different type of arguments you can enter into a function like positional, keyword, arbitrary, optional, and how to unpack arguments with the asterisk/star operator ( *args args ). Additionally, this video will show you how to make a message box in Python using ctypes.windll.user32.MessageBoxW, use the help() function and create and access docstrings for functions. | Language Py...
31 - Functions ( return; exit a function; return multiple values ) | Python Tutorials
Просмотров 7 тыс.7 лет назад
Learn how to return items from a function, return different items from a function depending on the situation, exit a function at any point, or return multiple values from a function. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
30 - Functions ( why avoid globals ) | Python Tutorials
Просмотров 2,8 тыс.7 лет назад
A tutorial about why you should avoid globals in functions if you can, and what to do instead. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
29 - Functions ( pass; global ) | Python Tutorials
Просмотров 9987 лет назад
Learn how to define and use functions/methods in python, and the effects of their scope on other variables. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials
28 - Command Line Arguments ( sys.argv ) | Python Tutorials
Просмотров 28 тыс.7 лет назад
Use sys to get command line arguments from the user. Shows how to use a generator expression to sum up all the arguments provided in the terminal. | Language Python (.py) | Code Example github.com/simply-coded/python-tutorials | More Info (argparse) docs.python.org/3/library/argparse.html
53 - Lambdas ( arrow operator ) | Java Tutorials
Просмотров 3 тыс.7 лет назад
Learn how to use lambdas in Java 8. This video also shares a way to replicate the behavior of lambdas using anonymous classes if you have an older version of Java. | Language Java (.java /.class) | Code Example github.com/simply-coded/java-tutorials
27 - Generator Expressions ( iterable vs iterator ) | Python Tutorials
Просмотров 1,5 тыс.7 лет назад
27 - Generator Expressions ( iterable vs iterator ) | Python Tutorials
52 - Anonymous Classes ( effectively final ) | Java Tutorials
Просмотров 2 тыс.7 лет назад
52 - Anonymous Classes ( effectively final ) | Java Tutorials
26 - Comprehension & Nested Loops ( list; set; dict ) | Python Tutorials
Просмотров 7 тыс.7 лет назад
26 - Comprehension & Nested Loops ( list; set; dict ) | Python Tutorials
25 - Iterative Loops ( for; else; break; continue; zip ) | Python Tutorials
Просмотров 1,1 тыс.7 лет назад
25 - Iterative Loops ( for; else; break; continue; zip ) | Python Tutorials
24 - Conditional Loops ( loop; do while; break; continue ) | Python Tutorials
Просмотров 1,1 тыс.7 лет назад
24 - Conditional Loops ( loop; do while; break; continue ) | Python Tutorials
ArrayList ( methods & properties ) | VBScript Examples
Просмотров 4,4 тыс.7 лет назад
ArrayList ( methods & properties ) | VBScript Examples
23 - User Input ( input; getpass; isdigit ) | Python Tutorials
Просмотров 6 тыс.7 лет назад
23 - User Input ( input; getpass; isdigit ) | Python Tutorials
22 - Ternary Operator ( A if CONDITION else B ) | Python Tutorials
Просмотров 2,8 тыс.7 лет назад
22 - Ternary Operator ( A if CONDITION else B ) | Python Tutorials
21 - If Statements ( if; elif; else; nested ) | Python Tutorials
Просмотров 9917 лет назад
21 - If Statements ( if; elif; else; nested ) | Python Tutorials
Environment Variables ( add; change; remove ) | VBScript Examples
Просмотров 4,1 тыс.7 лет назад
Environment Variables ( add; change; remove ) | VBScript Examples
20 - Logical Operators ( and; or; not ) | Python Tutorials
Просмотров 4,4 тыс.7 лет назад
20 - Logical Operators ( and; or; not ) | Python Tutorials
19 - Membership & Identity Operators ( is; not; in ) | Python Tutorials
Просмотров 2,6 тыс.7 лет назад
19 - Membership & Identity Operators ( is; not; in ) | Python Tutorials
18 - Comparison Operators ( == != less than; greater than ) | Python Tutorials
Просмотров 6 тыс.7 лет назад
18 - Comparison Operators ( != less than; greater than ) | Python Tutorials
17 - Assignment Operators ( = += -= *= /= %= **= //= ) | Python Tutorials
Просмотров 11 тыс.7 лет назад
17 - Assignment Operators ( = = -= *= /= %= = //= ) | Python Tutorials
16 - Bitwise Operators ( shifts & | ~ ) | Python Tutorials
Просмотров 8 тыс.7 лет назад
16 - Bitwise Operators ( shifts & | ~ ) | Python Tutorials

Комментарии

  • @prasannakumar-s8p
    @prasannakumar-s8p 12 дней назад

    blue color fonts are annoying to our eyes. Please use only white color fonts

  • @prasannakumar-s8p
    @prasannakumar-s8p 12 дней назад

    Didn't understand this Navigate2 and 2048 & 4096. could someone explain me in detail?

  • @prasannakumar-s8p
    @prasannakumar-s8p 12 дней назад

    Now internet explorer is retired so can we automate Microsoft Edge browser using VbScript?

    • @SimplyCoded
      @SimplyCoded 6 дней назад

      Vbscript is also pretty much retired. And no, I don't believe edge has an automation API, you'd have to use software like AutoIt and such

  • @thegreatindianvines1212
    @thegreatindianvines1212 22 дня назад

    its 20244444444444444444444444444

  • @user-rq8zk2yh2w
    @user-rq8zk2yh2w Месяц назад

    sendkey”taskkill if /im “explorer.exe”” Not workings, How to enter (“) in sendkey as it already contains semicolons

  • @Joe_DJ_DIRTY57
    @Joe_DJ_DIRTY57 Месяц назад

    Imma trick my teacher using this 🤣🏆☠

  • @MrLucioBello
    @MrLucioBello Месяц назад

    Execute rvBFIL.ReadAll() no longer works 😮‍💨

  • @freemanlovepease1539
    @freemanlovepease1539 Месяц назад

    very good but we need txt copy of the path file

  • @cosmin4798
    @cosmin4798 2 месяца назад

    the vbs chart in the description looks nothing like the one you have

    • @SimplyCoded
      @SimplyCoded 2 месяца назад

      That's because the one I had in the video was a custom one I had made that I no longer have. I also highly don't recommend using it because the way better way is to use the constants rather than the numbers behind the constants. Watch the second video for more information. It makes it way easier to read and understand when you don't use the numbers.

    • @cosmin4798
      @cosmin4798 Месяц назад

      @@SimplyCoded ok

  • @alanrobbo6980
    @alanrobbo6980 2 месяца назад

    Thank you, Is it possible to get Data info from .mp3 files ?

  • @homeboy0_026
    @homeboy0_026 2 месяца назад

    I just want to let you know that i am dumbfounded for the amount of dedication you put in this series. 4 whole years?! thats crazy dude, props.

  • @user-hf1wj8bl9x
    @user-hf1wj8bl9x 2 месяца назад

    I wonder whats the career of this RUclipsr now. He might know a lot of programming languages

  • @user-zu4ft8yw9e
    @user-zu4ft8yw9e 2 месяца назад

    The different types of logging in Java include FileHandler and ConsoleHandler. FileHandler is used to capture logging output in a rotating set of files, while ConsoleHandler is used to print log messages to the console. These logging mechanisms can be used to troubleshoot issues at different stages of development by providing detailed information about the application's behavior and errors encountered.

  • @WalmartFan0
    @WalmartFan0 3 месяца назад

    Is there a way to add a prompt to save the speech as mp3?

    • @SimplyCoded
      @SimplyCoded 3 месяца назад

      Not that I know of. Seems like it would have to be recorded to do that as it's a realtime speech not a generated one

  • @MRJakeyBro
    @MRJakeyBro 3 месяца назад

    the inputbox just closes after around 4 seconds and im not sure why the entire program actully closes after 5 seconds for somereason

    • @SimplyCoded
      @SimplyCoded 3 месяца назад

      Type wscript.exe in your start menu or in a command line and launch it. It will launch the settings. From there do you have the checkbox selected that says to only let scripts run for so many seconds enabled? If so uncheck it

  • @Mat_tR
    @Mat_tR 3 месяца назад

    finally... good coding tutorials, thank you so much i subbed :)

  • @gerardcastells41
    @gerardcastells41 3 месяца назад

    Honestly this saved my life because i checked all over the internet and did not find an answer that would work, thank you so much and keep up the good work!!!

  • @harshalirane798
    @harshalirane798 3 месяца назад

    Very helpful and informative video.thanks for sharing. I was wondering if there's any key parameter for selecting context key ( the menu key which resides next to rightside control key). Alternative ways to mimic right click such as shift f10 or sending appskey or ascii 93 parameters are tried but not helping. If any suggestions on this please assist.thanks

  • @Benjamin-nh3nx
    @Benjamin-nh3nx 3 месяца назад

    Hi, i'm searching how to detect the status of computer something like the position of the cursor or whether the keyboard be pressed using VBscript. do you have any idea about this?

  • @TECHVIPTI
    @TECHVIPTI 3 месяца назад

    very easy, thanks!

  • @cjcstudio6201
    @cjcstudio6201 3 месяца назад

    Thank you😊

  • @mlbb_bros4659
    @mlbb_bros4659 4 месяца назад

    cool

  • @DbonisOnYoutube
    @DbonisOnYoutube 4 месяца назад

    What about the Wisper

  • @noahtht12
    @noahtht12 4 месяца назад

    How to write the file again it says it is closed

  • @user-zl1zq6cu8i
    @user-zl1zq6cu8i 4 месяца назад

    Can you please tell me how to open notepad+

    • @SimplyCoded
      @SimplyCoded 4 месяца назад

      Dim objShell Set objShell = WScript.CreateObject("WScript.Shell") ' Replace the file path with the location of Notepad++ on your system Dim notepadPPPath notepadPPPath = "C:\Program Files\Notepad++ otepad++.exe" ' Open Notepad++ objShell.Run """" & notepadPPPath & """", 1, False Set objShell = Nothing

  • @WhiteWallAh_
    @WhiteWallAh_ 4 месяца назад

    if you want to print another message like "SUM = (Var)" do "SUM = " & var it works for me

  • @user-zl1zq6cu8i
    @user-zl1zq6cu8i 4 месяца назад

    hello , can you please tell me how to change the text color in this task ?

  • @noahtht12
    @noahtht12 4 месяца назад

    My script does if the file already exist it creates a folder with the new file Set fso=CreateObject("Scripting.FileSystemObject") if fso.FileExists("G:\NOAH\vbs\test.txt") then a=msgbox("The file already exists. do you want to create a folder with the new file?",vbYesNo) if a=vbYes then fso.CreateFolder "G:\NOAH\vbs\test" fso.CreateTextFile "G:\NOAH\vbs\test\test.txt" Else wscript.quit End if Else fso.CreateTextFile "G:\NOAH\vbs\test.txt" End if

  • @ReyzerPLAYZ.
    @ReyzerPLAYZ. 4 месяца назад

    song name

    • @SimplyCoded
      @SimplyCoded 4 месяца назад

      Something I made in GarageBand. Don't think I even have it anymore

    • @ReyzerPLAYZ.
      @ReyzerPLAYZ. 4 месяца назад

      @@SimplyCoded oops

    • @ReyzerPLAYZ.
      @ReyzerPLAYZ. 4 месяца назад

      @@SimplyCoded i commented the wrong video

    • @ReyzerPLAYZ.
      @ReyzerPLAYZ. 4 месяца назад

      @@SimplyCoded sorry Wrong vvideo

  • @nicosteream
    @nicosteream 5 месяцев назад

    Thanks for sharing this. Great job!

  • @Bdbrj-hi7cz
    @Bdbrj-hi7cz 5 месяцев назад

    Who is watching 2024

  • @ssdkullaniyorum
    @ssdkullaniyorum 5 месяцев назад

    adamsın abi

  • @100Bucks
    @100Bucks 5 месяцев назад

    Easy coding like Autohotkey. Simple is better. We can't remember everything. If it's simple, you never forget.

  • @mariamoreira9607
    @mariamoreira9607 5 месяцев назад

    You saved my job, thank u

  • @fadhlanhasbi4880
    @fadhlanhasbi4880 6 месяцев назад

    Hallo SimplyCoded.. I use multimonitor, could you share how to show MsgBox at used monitor ?

    • @SimplyCoded
      @SimplyCoded 6 месяцев назад

      That's a Microsoft thing. As far as I know it will always open on the main monitor. Sometimes MS Windows opens windows on the window they were closed at but I don't believe msgbox does. You may be able to find a third-party program that can move things to certain windows and then automate the movement to that window.

  • @jessedadul3992
    @jessedadul3992 6 месяцев назад

    How do you check two parameters in a folder such as size, name? Thank you

  • @dimensionCrystal
    @dimensionCrystal 6 месяцев назад

    not blaming you, but i used the loop code to repeatedly run calculator, i couldn't find my vbscript so i had to restart my computer

    • @SimplyCoded
      @SimplyCoded 6 месяцев назад

      lol been there before. Sometimes I can throw up a powershell terminal in time to run something like 'gps wscript | spps -force' to find and kill any vbscript processes, but In cases like yours where there's a gui that's constantly getting in the way a good ol' restart is the easiest.

  • @rishabhbhatia9098
    @rishabhbhatia9098 7 месяцев назад

    where can i get the vbscript msgbox chart number

    • @SimplyCoded
      @SimplyCoded 7 месяцев назад

      I don't have it anymore but my highest recommendation for yourself and the sake of any programmer that has to read your code is to not use it and watch the second video about using constants instead

  • @chandararanget7879
    @chandararanget7879 7 месяцев назад

    NOW 2023 BUT AM STILL LEARNING FORM HIM

  • @xd556
    @xd556 7 месяцев назад

    didnt know u could put 20 for critical and yes no, until now i entered 16+4 😅

  • @gabegamez1018
    @gabegamez1018 8 месяцев назад

    How do I add multiple places to input?

  • @SaiyansX
    @SaiyansX 8 месяцев назад

    No function (3 space + 1 space): Dim fso set fso = CreateObject("Scripting.FileSystemObject") fso.MoveFile """C:\Users\admin\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\AquaSnap""", """C:\Users\admin\AppData\Roaming\Microsoft\Internet Explorer\AquaSnap"""

    • @SaiyansX
      @SaiyansX 8 месяцев назад

      So I eventually found the solution myself, by trial and error. In doing so, I was shocked twice! First: even though the file is named: AquaSnap - it's actually a .lnk file type (shortcut) and it has to be mentioned! Second: even though I have a lot of spaces in the path, I must not do the expected solution with 3 quotes on each side ("""xxxxx""), but just single quotes! I don't understand why, but that's just how it works. So 2 shocks :) A working solution: Dim fso set fso = CreateObject("Scripting.FileSystemObject") fso.MoveFile "C:\Users\admin\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\AquaSnap.lnk", "C:\Users\admin\AppData\Roaming\Microsoft\Internet Explorer\AquaSnap.lnk"

  • @franktriest302
    @franktriest302 8 месяцев назад

    Hello Jeremy. Love your videos and I wouldn't have gotten here with programming without them! But I have a problem that I run into every now and then. I want to place the Sub and Function names of an Executed File in the output window or create a List as in lets say the FileSystem Object. This actually also applies to the names of the variables that appear in the Executed File. After sometimes a day of trying with "stdout", "stdin", "objects" etc. I gave up the battle again. (I work with VbsEdit). Can you make a video about this? Thank you in advance. 😉 (This text has been translated from Dutch with a translation program)

  • @WalmartFan0
    @WalmartFan0 8 месяцев назад

    Thank you! This helped with a project.

  • @Tuhin_Majumder
    @Tuhin_Majumder 9 месяцев назад

    Jupiter Notebook or Google collab

  • @neuoavs3723
    @neuoavs3723 9 месяцев назад

    Thank you. I readly need it.

  • @abdulelahfallatah
    @abdulelahfallatah 9 месяцев назад

    At 8:47, you showed me a smart way to use a function in VBScript. *Thank you very much!* You're the best person at RUclips who can help others learn VBScript.

  • @abdulelahfallatah
    @abdulelahfallatah 9 месяцев назад

    Thank for another amazing video. There's a difference between: (1) do until a = 5 ... loop and (2) do ... loop until a = 5 We use (2) when we'd like to have the lines of code executed once or more (1 >= x). But for (1), we use it when we'd like to have the lines of code executed zero or more times (0 >= x). The same thing applies to: do while a < 6 ... loop and do ... loop while a < 6. Regards,

  • @bobmarley9905
    @bobmarley9905 9 месяцев назад

    bro this was so clear compared to any other internet source. Thank you so much!

  • @igu642
    @igu642 10 месяцев назад

    Thank for the boundary explanation now i understands this is simple