Hidemium Docs
  • 👋HIDEMIUM GUIDANCE FROM A-Z
  • FEATURES OF HIDEMIUM
    • NEW PROFILE
      • MAIN
      • PROXIES
      • COOKIES
      • HARDWARE
      • FONTS
      • BOOKMARKS
      • EXTENSIONS
      • AUTOFILL
      • OTHER CONFIG
    • PROFILES
      • Export All Data
      • Update Multiple
      • Quick Create
      • Change Proxy
      • Add Schedule
    • FOLDERS
    • PROXIES
  • Use Cases
    • 🤖API AUTOMATION V4
      • Remote profile
        • 1. Open profile
        • 2. Close profile
        • 3. Checking
      • Get profile
        • 1. List profile
        • 2. List config default
        • 3. List status
        • 4. List tag
        • 5. List version
        • 6. Get profile by uuid
        • 7. Get list folder
      • Interact profile
        • 1. Create profile by default
        • 2. Create profile customize
        • 3. Change fingerprint
        • 4. Update note
        • 5. Update name
        • 6. Sync tags
        • 7. Change status
        • 8. Delete profile
      • Proxy
        • 1. Update proxy
        • 2. update profile's proxy
      • Automation
        • List scripts
      • Campaign
        • Get campaign
        • Create Schedule
        • Get Schedule
        • Update schedule status
        • Delete schedule
        • Create campaign
        • Add profile to campaign
        • Update campaign input variable
        • Delete campaign
        • Delete All Profile In Campaign
      • Get user uuid
    • 🤖API AUTOMATION V2
      • Remote profile
        • 1. Open profile
        • 2. Close profile
        • 3. Checking
      • Get profile
        • 1. List profile
        • 2. List config default
        • 3. List status
        • 4. List tag
        • 5. List version
        • 6. Get profile by uuid
        • 7. Get list folder
      • Interact profile
        • 1. Create profile by default
        • 2. Create profile customize
        • 3. Change fingerprint
        • 4. Update note
        • 5. Update name
        • 6. Sync tags
        • 7. Change status
        • 8. Delete profile
      • Proxy
        • 1. Update proxy
        • 2. update profile's proxy
      • Automation
        • List scripts
  • AUTOMATION USER MANUAL
    • Navigator
      • New tab
      • Active tab
      • Close tab
      • Open url
      • Reload page
      • Screenshot
      • Switch Frame
      • Switch Extension popup
      • Go back
    • AI Agents
      • Hidemium AI
    • Mouse
      • Click
      • Press and hold
      • Mouse movement
      • Scroll
      • Drop-down selector
      • Mouse wheel
    • Keyboard
      • Press key
      • Type text
      • Send text to selector
    • Data
      • Element exists
      • Get URL
      • Get text
      • Get value
      • Get attribute value
      • Random
      • File upload
      • File choose event
      • Read file
      • Write file
      • HTTP
      • Set variable
      • Authenticator Code
      • Converting JSON
      • Download file
      • Extraction In Text
      • Set cookies
      • Get cookies
      • Clear cookies
      • Image Search
      • Set Data
      • Get Data
      • Spreadsheet
      • Spreadsheet V2
      • WriteSheet
      • Set user agent
      • Delete file
      • IMAP(Read mail)
    • Other
      • Pause
      • If
      • Eval
      • While
      • For
      • Add comment
      • Update profile
      • Stop loop
      • Add log
      • Run other script
      • Disconnection
      • Open Extension
      • Run command
    • Scripts
      • Robot cookie
      • Upload nhiều ảnh
      • Register Etsy
    • How to start script auto ?
  • HIDEMIUM 从 A 到 Z 的指南
  • HIDEMIUM 的功能
    • 新资料
      • 主要
      • 代理
      • COOKIES
      • 硬件
      • 字体
      • 书签
      • 扩展
      • 自动填充
      • 其他配置
    • 账号
      • 导出所有数据
      • 多个更新
      • 快速创建
      • 更改代理
      • 自动化
    • 文件夹
    • 代理
  • API自动化
    • 远程资料
      • 1.打开资料
      • 2. Close profile
      • 3. 检查
    • 获取账号资料
      • 1. 资料列表
      • 2. 配置默认值列表
      • 3. 状态列表
      • 4. 标签列表
      • 5. 版本列表
      • 6.获取uuid的资料
      • 7. 获取文件夹列表
    • 互动资料
      • 1.默认创建资料
      • 2. 创建自定义资料
      • 3. 修改指纹
      • 4. 更新备注
      • 5. 更新名称
      • 6.同步标签
      • 7.修改状态
      • 8.删除资料
    • 代理
      • 1. 更新代理
      • 2. 更新资料的代理
    • 自动化
      • 脚本列表
  • 自动化用户手册
    • 调向器
      • 新标签页 (New tab)
      • 活动标签页 (Active tab)
      • 关闭标签页 (Close tab)
      • 打开 URL (Open URL)
      • 重新加载页面 (Reload page)
      • 截图 (Screenshot)
      • 切换框架 (Switch frame)
      • 切换扩展弹出窗口 (Switch Extension popup)
      • 返回 (Go back)
    • 鼠标
      • 单击 (Click)
      • 鼠标移动 (Mouse moverment)
      • 滚动 (Scroll)
      • 下拉选择 (Drop-down selector)
      • 鼠标滚轮 (Mouse wheel)
    • 键盘
      • 按键 (Press key)
      • 输入文字 (Type text)
      • 将文本发送到选择器 (Send text to selector)
    • 数据 (Data)
      • 元素存在 (Element exists)
      • 获取 URL (Get URL)
      • 获取文本 (Get text)
      • 获取值 (Get value)
      • 获取属性值 (Get attribute value)
      • 随机 (Random)
      • 文件上传 (File upload)
      • 文件选择事件 (File choose event)
      • 读取文件 (Read file)
      • 写入文件 (Write file)
      • HTTP
      • 设置变量 (Set variable)
      • 验证代码 (Authenticator Code)
      • 转换 JSON (Converting JSON)
      • 下载文件 (Download file)
      • 文本提取 (Extraction in text)
      • 设置 cookie (Set cookies)
      • 获取 cookies (Get cookies)
      • 清除Cookies (Clear cookies)
      • 图像搜索 (Image Search)
      • 设置数据 (Set Data)
      • 获取数据 (Get Data)
      • 电子表格 (Spreadsheet)
      • 电子表格 V2 (Spreadsheet V2)
      • 书写表 (WriteSheet)
      • 设置用户代理 (Set user agent)
      • 删除文件 (Delete file)
      • IMAP(阅读邮件) (Read mail)
    • 其他 (Other)
      • 暂停 (Pause)
      • 如果 (If)
      • 评估 (Eval)
      • while
      • For
      • 添加评论 (Add comment)
      • 更新账号资料 (Update profile)
      • 停止循环 (Stop loop)
      • 添加日志 (Add log)
      • 运行其他脚本 (Run other script)
      • 断开 (Disconnection)
      • 打开扩展 (Open Extension)
      • 运行命令 (Run command)
    • 脚本 (Scripts)
      • Cookie 机器人 (Robot cookie)
      • 上传多张照片 (Upload multiple photos)
      • 注册 Etsy (Register Etsy)
  • Hướng dẫn cài đặt Hidemium4 trên macOS
Powered by GitBook
On this page
  1. AUTOMATION USER MANUAL
  2. Data

Write file

PreviousRead fileNextHTTP

Last updated 1 year ago

The button allows you to edit your file by overwriting, Append to the side with special characters, or write on new lines. To add a file, enter its full path or upload it from your device in the designated "file path" section. Then, choose the data you want to include in the file based on the variable you set up in the orange Variables node and select the file format. Once you've made your selections, additional options will appear for specifying the location of the data you entered.

As an example, let's say I have a file containing multiple Google accounts that need to be logged in. To mark these accounts, I can use the "write file" function. In the orange "Variable" node, I will set the "Login" variable with a value of "Complete" and the "Logout" variable with a value of "Decline". Next, I will use the Node "Element Exits" function to check if the account has been logged in. If an account has been successfully logged in, I will use the "write file" function to mark it as "Complete" (by selecting the login variable) and then indicate the account. If an account has not been logged in, I will use the "write file" function to mark it as "Decline" (by selecting the logout variable). Or you can mark which profile matches which data line in your file when using this feature and select the variable "PROFILE_NAME"

Nút này cho phép bạn chỉnh sửa tập tin của mình bằng cách ghi data xử lý trong script ra ngoài file, Thêm ký tự đặc biệt nếu bạn muốn data đó vào bên cạnh data cũ hoặc viết thêm dòng mới . Để thêm tệp, hãy nhập đường dẫn đầy đủ của tệp hoặc tải tệp lên từ thiết bị của bạn trong phần "file path" được chỉ định. Sau đó, chọn dữ liệu bạn muốn đưa vào tệp dựa trên biến bạn thiết lập trong nút Biến màu cam và chọn định dạng tệp. Khi bạn đã thực hiện các lựa chọn của mình, các tùy chọn bổ sung sẽ xuất hiện để chỉ định vị trí của dữ liệu bạn đã nhập.

Ví dụ: giả sử tôi có một tệp chứa nhiều tài khoản Google cần phải đăng nhập. Để đánh dấu các tài khoản này, tôi có thể sử dụng chức năng "Write file". Trong nút "Variable" màu cam, tôi sẽ đặt biến "Đăng nhập" có giá trị "Hoàn thành" và biến "Đăng xuất" có giá trị "Từ chối". Tiếp theo, tôi sẽ sử dụng chức năng "Element Exits" của Node để kiểm tra xem tài khoản đã được đăng nhập chưa. Nếu tài khoản đã đăng nhập thành công, tôi sẽ sử dụng chức năng "Write file" để đánh dấu là "Hoàn thành" (bằng cách chọn biến đăng nhập) và sau đó chỉ ra tài khoản. Nếu tài khoản chưa đăng nhập, tôi sẽ sử dụng chức năng "Write file" để đánh dấu là "Từ chối" (bằng cách chọn biến đăng xuất). Hoặc bạn có thể đánh dấu profile nào khớp với dòng dữ liệu nào trong file của mình khi sử dụng tính năng này và chọn biến "PROFILE_NAME"

parameter
illustrate

File path

The file path to which you want to write data

Đường dẫn tệp mà bạn muốn ghi dữ liệu vào

Select input data from variable

Select a variable containing data to write that data to the file

Chọn một biến chứa dữ liệu để ghi dữ liệu đó vào file

Selector type

Choose the file format you want to write to: TXT, CSV, JSON.

Chọn định dạng tệp mà bạn muốn ghi vào: TXT, CSV, JSON.

Select write mode: Overwrite

Overwrite previous data

Ghi đè lên dữ liệu trước đó

Select write mode: Append

Add to file, write on new line or on the same line

Ghi thêm vào tệp, ghi xuống dòng mới hoặc cùng dòng

4KB
Write file.txt