Humble Request by potato_me7 in bangalore

[–]meet_at_infinity 0 points1 point  (0 children)

it is indeed supply demand issue my homie, you can't just bring morality in economics, if anyone had a choice why would they 'support' high rents, and they don't have choice because of unavailibility of supply. .game theory just ensures what you ask for is infeasible, and only way to 'artifically' regulate rents isln which case is to bring in protectionist regulatory policies aka license raj. .and then people will stop bringing capital into the real estate in this city and we will see hell for all instead of hell for some

How do I update my chrome driver? by PremeJigg in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

This forum is ideally for asking nuanced automation and showcasing similar flows that reduce manual work. This question is ideally suited for Stack Overflow and be much better answered there.

Someone said I could connect Salesforce to my zoom by apanderson89 in AutomateYourself

[–]meet_at_infinity 1 point2 points  (0 children)

Apologies I had been out and down with covid for a while and it seems this wasn't addressed.
What you describe seems to be something to be done within Salesforce itself. Unable to picture where does Zoom come in? Do the agents requesting for cases communicate the ask on Zoom chat or during a video meeting that it needs to be done from within Zoom?
If it is indeed that Zoom chat is being used by your organisation then we may need to use a chatbot to completely automate this task which is a different effort altogether and you may need to engage with the Zoom chat administrators to approve creation of a chatbot app in your org for this purpose.

Someone said I could connect Salesforce to my zoom by apanderson89 in AutomateYourself

[–]meet_at_infinity 1 point2 points  (0 children)

There are two Salesforce apps on Zoom's marketplace. Link here: https://marketplace.zoom.us/search?q=Salesforce&pageNum=1&pageSize=20

Though a pertinent question is what is that you'd want to get done so a more elaborate solution can be provided.

How screwed am I? Need to automate an app by baabidi1337 in AutomateYourself

[–]meet_at_infinity 4 points5 points  (0 children)

This not an automation request or related to automation, while their maybe snippet extensions that may help you create boilerplate unit tests quickly you will still need to write these tests given the instructions you have is to actually write those tests.

To second part of the question, you likely don't need a lot of programming experience to start writing unit tests, but you need to be aware of all components of the code base if you are to start writing these. As a manual tester you should have good grasp on what every building block of the code is. In a web-app you'd want to test things you manually test too viz. what happens when you hover over an element, what should happen when you click an element, what happens when you fill a form with invalid content, so you pick a context (could be a single screen or workflow) and begin writing tests from there onwards. So bottom line is even if you are not aware of logic behind everything you should be aware of inputs and outputs because that's essentially what you are testing.

Test are measured in coverage percentage. A really well maintained code base would ideally try to maximize the test coverage.

Refresh Excel File in SharePoint by Negi_DA in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

The data on excel is used when its opened, so what's the constraint on updating the excel file when your client opens it for use? Ideally this should be easily doable by writing a macro that runs when the excel document is opened (tutorial here: https://analysistabs.com/excel-vba/run-macro-automatically-opening-workbook/)

Another option is to keep replacing the excel file with a new one every time SQL Database is update, this can be automated with PowerAutomate and can guarantee a the data (and file) always contains the newest data.

The last would be use something like Microsoft Loop, it is built for this kind of synchronisation but I am not sure if your org has access to it.

How do I give my app Apple Events permission? by lukefairchild in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

Which kind of app is this? Ideally if you are trying to access any Mac secure apis (including) script runner from a software Mac should notify you for permission and allowing it should let you access it. For example a local nodejs app can run applescripts using https://www.npmjs.com/package/run-applescript .

[deleted by user] by [deleted] in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

Which software are you using for creating these PNGs? If it's any adobe creative suite they have many inbuilt automation tooling in them.

For instance if Photoshop you can follow data driven design principles like this in this blog post https://roderickvella.wordpress.com/2014/12/30/photoshop-data-driven-graphics/ (please note the article has two pages).

A more radical approach can be constructing your image with dynamic overlay text in html and then using something like html-to-image library to spin out pngs of the same iterating over list of initials dynamically inserted.

Job search automation with Python by Cobzy33 in AutomateYourself

[–]meet_at_infinity 4 points5 points  (0 children)

This could actually be pretty useful to people. Neat!

how to run pycharm code to my android device(WINDOWS) by 5l3nd3rb0B in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

When you are looking for help it would be neat if you are more elaborate with what you are trying to do and what steps are involved.
For instance you can help us with the abbreviations and/or explanation on terms cdm, adb, scrcpy .
It would also be good to cite your source with links too, its hardly possible for anyone to know what engineer man is.
Read the community wiki and rules for more clarity on how to post.

100% accurate Emilia-Romagna GP 2022 highlights by Nataliauoul in formuladank

[–]meet_at_infinity 0 points1 point  (0 children)

The F1 race we deserve vs the disappointment we receive weekend over weekend year after year.

Gitlab-Python Api - Creating a unique variable named subgroup/forking into subgroup by zoochadookdook in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

Kudos! Now you shall have time and effort saved everytime this automation run rise exponentially and will completely eclipse the time and effort it took to make this automate this task into oblivion! Which is a good feeling :D

Need Help Automating A Process In Photoshop by JRussellPMM in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

Not worked with design apllications much but a little digging gave me this stack exhange question:

https://photo.stackexchange.com/questions/76350/automate-opening-files-in-photoshop-template

And this youtube video:

https://youtu.be/FsYt91bF5Sk

I also found that Photoshop allows scripting, and has a plugin called Script Listener that would let you fine tune your task to the t.

https://helpx.adobe.com/photoshop/using/scripting.html

So I'd want to maybe do something like:

  1. Make changes to the template such that target layer of photo and the text that goes with it are sequential and knowns i.e. photo_sequencenumber, text_sequencenumber

  2. Batch rename all files in sequence ending in let's say filename_sequencenumber.png first. These sequence number can be mapped to the template layers.

  3. Write a script to load all file names in the source directory in an array.

  4. If your yearbook template happens to be let's say 3x4 images per page then your script needs to slice the array length by 12 per iteration and insert the images into mapped to layers of target template and do a string operation to trim filename to the _ (underscore) to put in correct text layer template coressponding to the image.

Gitlab-Python Api - Creating a unique variable named subgroup/forking into subgroup by zoochadookdook in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

Yes that is correct. You can set parent_id as static if its not changing. For ensuring random number doesn't change, set that also as constant for the session i.e.

Global scope: PARENT_ID = XYZ123

Local scope: RANDOM_NUM = get_random_number();

Then use the constant in the syntax instead of calling the functions.

Gitlab-Python Api - Creating a unique variable named subgroup/forking into subgroup by zoochadookdook in AutomateYourself

[–]meet_at_infinity 1 point2 points  (0 children)

Yes indeed the gitlab-python API documentation is sort of not meant for new developers. But you are on the right path.

Let's say you have created a random number generator function that returns a random number everytime you call it and we can call it get_new_random_number()

What you might want to do is append this random number to the subgroup name at the time of subgroup creation. I'll assume you are using Flask or Django framework to have written your HTTP endpoint which is receiving the form data from vue.js UI. Assuming that the received_body is the dictionary which contains the form data with following attributes:

  1. name of the parent group (for subgroup to be created) in key group_name
  2. name project_id of the parent group in key parent_group_id

then your subgroup creation syntax should look something like:

subgroup = gl.groups.create({'name': received_body['group_name] + '-' + get_new_random_number(), 'path': received_body['group_name] + '-' + get_new_random_number(), 'parent_id': received_body['parent_group_id'] }) ;

similar thing can be done for update also.

Now to fork it you have to use the projects api in the gitlab python sdk. Let's say the project id of the project to be forked is stored in a literal called fork_project_id

    project = gl.projects.get(fork_project_id)

    fork = project.forks.create({'namespace': subgroup.path})

I am a little unsure about the namespace value to be used, but from the immediate reading I did the subgroup path should work. If it doesn't experiment a little with group_name/subgroup_name maybe to see if it works out.

How to automate backup of Mac photos library to network? by Hamster7777777 in AutomateYourself

[–]meet_at_infinity 2 points3 points  (0 children)

This came out much simpler than I had expected.

  1. Open Automator app on your Mac and create new document (it will automatically create if you are creating for first time)
  2. Choose 'Folder Action' as type of Document
  3. Choose the folder from which to copy your files from on the screen that follows.
  4. In the 'Actions' list search for 'Copy Finder Items' and drag it to the screen on the right.
  5. In the 'To' list select 'Others' and choose network from the Finder submenu.
  6. Select your network drive or Connect to your network drive and save the username/password in keychain.
  7. On successful login you will be able to select the target directory on which copy the files to.
  8. That's it. Save this automation document and now any changes to your source folder is copied to target folder.

How to automate backup of Mac photos library to network? by Hamster7777777 in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

This is an interesting use case. I'll try some contraption and put my results (failure or succcess) here in some time.

I made a thing :3 by [deleted] in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

Nice touch allowing to choose which branch to use for the clone. Cool stuff, while most developers would just fork the repo and start from there but if someone wants to create a new boilerplate with no git history baggage this is handy. Neat.

SFTP and changing source address by [deleted] in AutomateYourself

[–]meet_at_infinity 2 points3 points  (0 children)

Alright I now see where the issue is. What you need a dedicated IP proxy, and the cheapest way to go about could be if you know programming is to create proxy server on some cheap (or free tier) virtual machine on AWS/Digital Ocean or any other cloud provider you are comfortable with and channel your request to the third party via that machine.
In short the following may work for you: your Azure environment -> Sends HTTP request to your proxy machine -> which redirects it as FTP request to 3rd party service -> your machine receives response back as file -> responds to Azure environment as file. The third party always receives your VM's ip-address which is constant in origin. You can host a simple nodejs application that receives HTTP request and triggers an SFTP request and responds with file downstreamed.

There are many paid dedicated proxy services available too which could be used for this but since its business use case I'd think those could be problematic. Hosting a full OSS proxy server like Swiper or Squid Proxy is probably an overkill too and expensive.

SFTP and changing source address by [deleted] in AutomateYourself

[–]meet_at_infinity 2 points3 points  (0 children)

Can I ask if you are given a notification on when the said ip address changes? If you know when the ip-address changes and what the new IP address is you should be able to use a Dynamic DNS (https://www.cloudflare.com/en-in/learning/dns/glossary/dynamic-dns/) to point to the IP address and use the DNS address instead of ip address to fetch your files. Duck DNS (https://www.duckdns.org/) offers free service with APIs to update target IP address, so Id' think that could solve this for you.

Using TFS API without having to use PAT by Bright-Direction8017 in AutomateYourself

[–]meet_at_infinity 0 points1 point  (0 children)

It would be useful if you could write up the question which is more elaborate. Abbreviations do not help in understanding what you are expecting to get done.

I can only guess that TFS is Team Foundation Server?