Тёмный

AppleScript Tutorial : Simple hot folder creation 

ClickingKeys
Подписаться 1,2 тыс.
Просмотров 2,1 тыс.
50% 1

In this tutorial video we'll explore creating a hot folder using the AppleScript idle handler to monitor a folder and process the files that land in it.
For more AppleScript tutorial videos, check out this play list.
• Learn to AppleScript (...
If you're interested in watching full scripts being written, have a look at this play list.
• AppleScript Project Ex...

Хобби

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@zhouyu9971
@zhouyu9971 Год назад
I really like your video and I think Applescript is so powerful that most people don’t even know it. The biggest advantage of AppleScript I believe is it’s nativeness. You don’t need to setup any environment, install any library, or do any setting to mess up your system. It’s just there. If you want, you can start coding just right now. This is also the exact problem-what can I do with it? For this, I think you may improve your video by solving this problem. I suddenly got the idea in my mind to share what I’m doing with you. So you may think and start more examples as great videos. I use qr scanner and batch scan multiple code at same time. Then I export the code file in csv via air drop. These codes are mostly either the tracking code on the courier bags I’m sending, or the barcodes on some products. I made couple of unique QR codes, representing “send”, “stock up”, “sale”. One of these command codes are scanned and included in the data exported to “download” folder on my Mac. I have script monitoring the receiving file and exam through it. Then it decides what to do. Either, email customer the tracking numbers. Update stock list database with “do shell scripts” with Sqlite3 also embedded on mac itself. I’m sure there are others you can do. But I haven’t thought anything. So for example if you can find out if we can use the native “GUI windows” to make more actions. Just some thoughts, hope you do well.
@Accla89
@Accla89 2 года назад
Great video, can you also create a video where you describe how to start programs on MAC or even quit by script. when I want to shut down my Mac, I do not want to close all programs first. I know that is not necessary, but makes it easier for me.
@writetoyourdestiny
@writetoyourdestiny Год назад
Could you please do a video how to change output device by using some hot keys? For example I have my headphones connected and I'd like to apply some combination to switch output from current device let's say my MacBook speakers to headphones and opposite.
@mihailmarkov7869
@mihailmarkov7869 2 года назад
Hi! Thank you so much for the lessons you are doing. I started learning applescript quite recently and your videos help a lot in this! I have a request. Can you write the source code of the script under the video? This will speed up the learning process) Thank you!
@ClickingKeys
@ClickingKeys 2 года назад
Hey Mihail, thanks so much for your interest in my channel. I made a very intentional decision to not include the source code in my descriptions because my channel is about learning to AppleScript. I feel the best way to learn is to experience the process of writing the code yourself. It’s my opinion that going through the motions of typing the code, making mistakes and figuring out what you did wrong is part of the learning experience. If I just supply source code, people would just copy and paste it and they wouldn’t truly learn in that experience. Half of learning is learning what to do, the other half is learning what not to do. I hope you can see the logic in my thinking. Thanks, Buggz
@mihailmarkov7869
@mihailmarkov7869 2 года назад
​@@ClickingKeys Yes, the logic is clear. I wanted to cheat, but it doesn't seem to work))) I'm looking forward to the next lessons. Thanks for the Buggz response! And nice to meet you!
@davidratcliffe4015
@davidratcliffe4015 2 года назад
Thank you for sharing your knowledge! I'm trying to combine this video with some of the Numbers videos. I have the hot folder portion working correctly, however I am unable to remove a column from a numbers document that was converted from xls. Any help you can provide would be greatly appreciated!
@ClickingKeys
@ClickingKeys 2 года назад
Hey David, congrats on your success with the hot folder portion of your script! It's hard to know what the issue might be with your portion where you're trying to delete a column. I think the problem is probably based on the document hierarchy. Below is a generic example that illustrates how to remove a column. tell application "Numbers" set myDocument to document 1 set col to column 3 of table 1 of sheet 1 of myDocument delete col end tell Notice that you need to access the column by telling your script what table, sheet and document it belongs to. I discuss the document hierarchy in more detail in this video... ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-m5RpzCeBreE.html I hope this helps and good luck with your script! ~Buggz
@vexxy3477
@vexxy3477 2 года назад
Hi, i really need your help and you could possibly make a video on it as this could be a long one, how do i click on a button in a window, like if i wanted to click a button in a chat like discord, but make it fully automated, i've tried stuff like tell application "system events" tell application discord click at {123,456} end tell but it just doesn't work! you're the only person that can realistically help me here, i've been searching for answers for MONTHS on reddit and other places, but everything i find just comes up with nothing! please help clickingkeys!! big fan by the way :) have a great day.
@ClickingKeys
@ClickingKeys 2 года назад
Hey Vexxy, thanks so much for your comment. I will consider making a video along these lines, but not totally sure when that might be. I’m making an assumption with regard to your request (based on your comment) You’re using the discord application not a web browser, is that correct? Second, it’s helpful to know what button you’re trying to click.
Далее
AppleScript Tutorial : Automatically scale images
2:47
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
AppleScript
9:50
Просмотров 4,3 тыс.
Apple Explains Why MacBook Pro Only Has 8GB RAM
3:48
Просмотров 746 тыс.
AppleScript: Display Dialog Deep Dive
28:40
Просмотров 1,1 тыс.
Java Is Better Than Rust
42:14
Просмотров 142 тыс.
Цены на технику в Tg: @iroom_market
0:17