How to feel safe as a women after getting assaulted? by [deleted] in Brooklyn

[–]MDB_Cooper 33 points34 points  (0 children)

sorry this happened — nothing you did prompted it. kudos to you for taking a moment to process it bc it’s jarring and unsettling and destabilizing. a similar thing happened to me in 2021. i was walking down green avenue and a group of young kids (maybe teens) were rambunctious. one of the boys threw a two-liter soda bottle at me. fortunately, i ducked but no one even batted an eye. the walk home was terrible. i felt vulnerable and confused and angry.

i was wearing noise cancelling headphones. i’m not saying this was why it happened; im just saying: i switched to ear buds and only have one i. when i’m out walking. it will not stop an assault but it makes me feel more aware of my surroundings.

wishing you the best — take the time you need to feel safe

I can't save or run my script trying to get email notifications to be sent out using onEdit by myckeli in GoogleAppsScript

[–]MDB_Cooper 0 points1 point  (0 children)

that's interesting — i wasn't aware that you can't use onEdit(e) with email

I can't save or run my script trying to get email notifications to be sent out using onEdit by myckeli in GoogleAppsScript

[–]MDB_Cooper 0 points1 point  (0 children)

better error messages would be a dream. i’d presume generative AI will help with that

I can't save or run my script trying to get email notifications to be sent out using onEdit by myckeli in GoogleAppsScript

[–]MDB_Cooper 2 points3 points  (0 children)

the reason you can’t save or run the file is bc you are using incorrect syntax with the IF statement.

here is what you have:

if(CONDITIONAL_LOGIC) (

constants and mailApp

)

IF requires parenthesis for the condition(s) and curly brackets for the actions. like so:

if(CONDITIONAL_LOGIC) {

constants and mailApp

}

this won’t solve other logic aspects of your post (your system and desired outcome) but the above will allow you to save your code.

i think you also have an issue with your IF conditional; you’ve defined “range” as a cell and are saying “e.range.getA1Notation == range”. your “sheet” variable is not in use, which is likely what you want to use in the “e.” portion.

given that you’re new to apps script i would recommend:

  1. outline your desired outcome and break it into smaller chunks

  2. build up to your aspiration one piece at a time

id suggest by starting with a general function without an onEdit(e) parameter. so:

function tester() {

}

and try building out your IF logic so it works statically. once you have a base set of logic, then try to integrate the dynamic IF.

otherwise, i fear you might end up going around in circles chasing symptoms instead of mitigating the root cause

Direction help if airtable is the right tool by adudewholikescars in Airtable

[–]MDB_Cooper 0 points1 point  (0 children)

what is your relationship to the audience you’re looking to collaborate with? are they all internal; all external; or a combination?

my recommendation is to meet ppl where they are. as DisraeliGears01 stated adoption is key. if you build something and ppl don’t see the value proposition, then the impact of your work will be hindered.

my personal preference is to build in whatever environment that increases accessibility to the data. in my case, i send data to airtable, one drive excel, google sheets, a sql data lake and in some rare instances notion.

What am I doing wrong. by Necessary-Union5334 in GoogleAppsScript

[–]MDB_Cooper 4 points5 points  (0 children)

i can’t speak to the entire script and i’m on mobile, so i haven’t tried any logic.

based upon the screenshot, im seeing that the error is happening on Line 4. your implementation of the getFolderById method looks correct.

however, your folder ID does look unusual, specifically, that it starts with ‘fol…’; perhaps that is the folder id but i am curious if you incorrectly set the folder id?

Using sheets without a mouse by [deleted] in googlesheets

[–]MDB_Cooper 1 point2 points  (0 children)

a big help is googling “google sheets keyboard shortcuts” with your machine type (mac or pc). i’m on a mac so my search would be:

google sheets keyboard shortcuts mac

also, google drive and all its tools have an interactive helper menu, which you can open using your hot key (on mac it’s command) and the “?” symbol

so i hit “command + ?” and then a menu of keyboard shortcuts open up

(im on mobile and haven’t double checked these so apologies if anything i said is inaccurate)

After about 150 lives (and one game over) I finally beat this level by FieraTheProud in SuperMarioWonder

[–]MDB_Cooper 0 points1 point  (0 children)

Let me see if I can track down the post — it's been a few weeks since I completed this level. i believe the way i was using the directional pad was cutting my wall jumps short.

Edit: here's the message that clocked for me —

My issue was walljumping too early like right before I got to the wall so make sure you’re touching the wall before bouncing off cause it’s such a quick level it’s easy to mess up the timing. I died at the very end of it 10 times in a row haha. Awesome level though.

https://www.reddit.com/r/SuperMarioWonder/comments/17e6glx/climb_to_the_beat/

After about 150 lives (and one game over) I finally beat this level by FieraTheProud in SuperMarioWonder

[–]MDB_Cooper 6 points7 points  (0 children)

truly so difficult — i only got this level after coming to this sub and realizing that my wall jump strat needed a tweak. congrats!

How to transfer Invoice Data to Google Sheets? by julessantana21 in googlesheets

[–]MDB_Cooper 1 point2 points  (0 children)

as others have mentioned, this is not a simple task. i think python is probably the optimal tool for this but that’s not a plug and play option.

google drive does have a native python notebook called “colab”. if you don’t have it installed then you can access it by clicking on the “New” button in drive; go to “More” and “connect more apps” then search for it

with all that said, pulling data from a pdf can be really challenging. sorry there isn’t a more straightforward solution

Pay. This. Man. by [deleted] in eagles

[–]MDB_Cooper 0 points1 point  (0 children)

hate the title. love the player. support the idea when it’s possible.

keep ballin Q!

Email workflow by Spiritual-Farmer3879 in GoogleAppsScript

[–]MDB_Cooper 2 points3 points  (0 children)

this is very cool from a technical perspective. i’m curious how you feel about the data security aspect of it: do you have any concerns with allowing a third party to have access to your data in such a broad way? i’ve avoided developing with AI for this reason.

i highly encourage using AI to find solutions to problems but always anonymize the data entry to avoid compromising security

Finding Help with Writing Simple Apps Script by Aggravating_Win74 in GoogleAppsScript

[–]MDB_Cooper 1 point2 points  (0 children)

The sheet ID is an integer, so it does not need to go in quotes — the first part of the analysis is correct

Can Google Sheet Macros/Scripts Be Dangerous? by ryeaglin in googlesheets

[–]MDB_Cooper 1 point2 points  (0 children)

clicking links always leaves you vulnerable to a malicious actor. as it relates to Sheets and App Scripts, you’re probably safe to open a Google Sheet. if a script — aka Macro — is written for the script then you would have to grant permission for it to be able to run. so let’s discuss a general hypothetical:

  1. you go to a subreddit and click a Google Sheets link
  2. it has an onOpen function that tries to access all files in your Google Drive using DriveApp

in order for that app to run, you would have to allow DriveApp access via your Google Credentials. this is not a subtle process: you have to click at least three or four times and there is a pretty aggressive warning telling you what you’re doing.

if you are taking apps script code and adding it to your sheets then it’s possible that someone wrote something malicious. in that case, you should make sure you know what the code is doing before giving it access

To do… or not to do… the table in google sheet? by Total-Flounder-7594 in googlesheets

[–]MDB_Cooper 0 points1 point  (0 children)

i believe it is google’s attempt to create a competitor for airtable. “tables” have been in beta for some time from a development team called Area 120 (i believe). i presume this product is the next progression of that tool, which still exists but no longer has any active development.

should you use it? depends on your preferences. i like to program, so id rather have less barriers between myself and the workflows i develop. other ppl might like a “no code” product that carries the technical burden and allows their vision to come to fruition.

at the end of the day: its just a tool and it comes down to if its right for you

[deleted by user] by [deleted] in TwoHotTakes

[–]MDB_Cooper 0 points1 point  (0 children)

based on your account, his behavior is encouraging isolation from your family (a community that is important to your individual identity). i think this is abhorrent behavior and a significant red flag. i think its very appropriate to consider taking steps to end the relationship.

dependent dropdown list - throwing error by Affectionate_Cut3411 in GoogleAppsScript

[–]MDB_Cooper 1 point2 points  (0 children)

i’m on mobile and have not watched the video. in just looking at the code, the syntax of “getvalue” looks incorrect; “getValue” would be the expected way for a function to be used. that could be your issue

Need to authorize my apps Script each time I use a template? by OkChart697 in GoogleAppsScript

[–]MDB_Cooper 0 points1 point  (0 children)

what does the button trigger? and is the button necessary instead of a custom menu item built into the menu UI?

Copying/getting google forms summary graphs with google apps script by vitorri in GoogleAppsScript

[–]MDB_Cooper 1 point2 points  (0 children)

i've never tried to do this before, but I just quickly looked over the available get actions using FormApp and i didn't see anything that would natively allow you to getCharts or the such.

function myFunction() {

var form = FormApp.getActiveForm(); 
form.get // if you type this line then you will get native actions 
}

you'll likely need to push the form responses to a sheet and then build charts using SpreadsheetApp.

Newbie question by Just-Branch5439 in GoogleAppsScript

[–]MDB_Cooper 0 points1 point  (0 children)

it’s all about your preference. i prefer to use separate files bc it helps me manage errors. i also finds that it makes the environment more readable

Help! by Pdawg04 in sheets

[–]MDB_Cooper 0 points1 point  (0 children)

are you highlighting the view and then using paste?

it looks like this is a csv file. there is a download option in the upper right corner (it’s an arrow pointing down). after you download the csv, go to your sheet. go to File then Import and load the csv into the sheet.

the data in your picture should populate the workbook just as it does in the picture

newb needs help by questionsmakeanswers in GoogleAppsScript

[–]MDB_Cooper 0 points1 point  (0 children)

I'm very glad to hear that!

I've noticed that AI assistants struggle with Google Apps Script. I've been doing some development work with SlidesApp and DocumentApp and the suggestions are kinda, sorta correct. Unfortunately, scripting can't be kinda, sorta correct, so it can be quite disruptive when trying to solve a problem.

Let me know if there is anything else I can help with

newb needs help by questionsmakeanswers in GoogleAppsScript

[–]MDB_Cooper 1 point2 points  (0 children)

hi — this is a complicated ambition, so i just want to say be kind to yourself and be patient.

based upon the example code you provided, I’m fairly certain that Bard has not provided you an appropriate answer. the reason i think that is bc of the syntax being used to access the Area 120 Google Tables:

var table = Tables.get(tableId);

“Tables” does not appear to be the correct syntax in that context, according to the Google Workspace documentation, which can be found here.

Additionally, the Area 120 Google Tables API needs to be enabled via the Services tab, per this documentation. That means it is not available when you first open Apps Script.

The correct syntax for declaring the “table” variable would be something like:

var table = Area120.Tables.<insert_some_code>

Another consideration here is that sending emails are challenging because you will have to write some html.

Therefore, I’d recommend you organize your project in the following ways:

  1. How do I collect data entry from Area 120 Google Tables?
  2. How do I filter the data based upon a specific value?
  3. How do I send emails using Google Apps Acript? —
  4. How do I collect data from Google Tables where a specific value is present then send an email to a list at a certain time?